From 6a9d875d01d6a0de06a5d8bf2570eec1b23534bc Mon Sep 17 00:00:00 2001 From: Michal Horn Date: Mon, 6 Oct 2014 13:32:58 +0200 Subject: [PATCH] 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blocks/tlc_c/common.tlc b/blocks/tlc_c/common.tlc index 571cb85..b9f759d 100644 --- a/blocks/tlc_c/common.tlc +++ b/blocks/tlc_c/common.tlc @@ -49,7 +49,7 @@ %assign _DONE_COMMON_BLOCK_TYPE_SETUP_ = 1 %if !SLibCodeGenForSim() - %% %")> + % %endif %endif -- 2.39.2