]> rtime.felk.cvut.cz Git - jenkicar/rpp-simulink.git/commitdiff
Use correct version of common.tlc from master branch
authorMichal Sojka <sojkam1@fel.cvut.cz>
Thu, 9 Jul 2015 12:52:03 +0000 (14:52 +0200)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Thu, 9 Jul 2015 13:16:46 +0000 (15:16 +0200)
rpp/blocks/tlc_c/common.tlc

index 025458d75bed77daa4da3df66091132857b383e5..ebedbe38d3c0cccd51dd27e722b4dd82fe96b3d4 100644 (file)
         %assign _DONE_COMMON_BLOCK_TYPE_SETUP_ = 1
          %if !SLibCodeGenForSim()
             %<LibAddToCommonIncludes("<base.h>")>
-            %<LibAddToCommonIncludes("<rpp/rpp.h>")>
+            %<LibAddToCommonIncludes("<rpp/sci.h>")>
         %endif
    %endif
+   %if EXISTS("::rpp_fray_buffer_config") == 0
+               %assign ::rpp_fray_buffer_config = ""
+   %endif
+   %if EXISTS("::rpp_fray_buffer_count") == 0
+               %assign ::rpp_fray_buffer_count = 0
+   %endif
+   %if EXISTS("::rpp_fray_buffer_key_slot") == 0
+               %assign ::rpp_fray_buffer_key_slot = ""
+   %endif
 %endfunction