]> rtime.felk.cvut.cz Git - socketcan-simulink.git/commit
Fixed syntax error when extenal mode enabled for model with CAN blocks
authorMichal Horn <hornmich@fel.cvut.cz>
Mon, 6 Oct 2014 11:32:58 +0000 (13:32 +0200)
committerPavel Pisa <pisa@cmp.felk.cvut.cz>
Fri, 10 Oct 2014 08:52:58 +0000 (10:52 +0200)
commit6a9d875d01d6a0de06a5d8bf2570eec1b23534bc
treea0b65c825fca54653506c4969c48089e60a742d1
parent1e7b1ef3bcb996642590a6bfc6c6a893bfbc8805
Fixed syntax error when extenal mode enabled for model with CAN blocks

Compiler returned with undefined data types CAN_MESSAGE_EXTENDED and
CAN_MESSAGE_STANDARD errors when the external mode was enabled for
a model witch used CAN blocks.
When CAN Pack or CAN Unpack block has been added to the model, the error disappeared.

Also a can_ext_mode_demo has been created for detection of similar error in the future.

Fixes #1015
blocks/tlc_c/common.tlc