summaryrefslogtreecommitdiff
path: root/2.3-1/macros/CCodeGeneration/C_FinalizeCode.sci
diff options
context:
space:
mode:
authorsiddhu89902016-07-25 15:59:40 +0530
committersiddhu89902016-07-25 15:59:40 +0530
commit21ab4886b202a52189b398bd9d3137e2a567d62a (patch)
tree90519f93c0a0c0ec22ce296372b811a7af2ed399 /2.3-1/macros/CCodeGeneration/C_FinalizeCode.sci
parentd7d53dc95a7cb9878a4e49bdd06e626e981b0eb2 (diff)
downloadScilab2C-21ab4886b202a52189b398bd9d3137e2a567d62a.tar.gz
Scilab2C-21ab4886b202a52189b398bd9d3137e2a567d62a.tar.bz2
Scilab2C-21ab4886b202a52189b398bd9d3137e2a567d62a.zip
WiringPi used for RaspberryPi (Gpio, serial, Threads, ISRs)
Diffstat (limited to '2.3-1/macros/CCodeGeneration/C_FinalizeCode.sci')
-rw-r--r--2.3-1/macros/CCodeGeneration/C_FinalizeCode.sci6
1 files changed, 3 insertions, 3 deletions
diff --git a/2.3-1/macros/CCodeGeneration/C_FinalizeCode.sci b/2.3-1/macros/CCodeGeneration/C_FinalizeCode.sci
index 1f3c6b58..d1fc7e61 100644
--- a/2.3-1/macros/CCodeGeneration/C_FinalizeCode.sci
+++ b/2.3-1/macros/CCodeGeneration/C_FinalizeCode.sci
@@ -76,10 +76,10 @@ PrintStringInfo('#include ""'+tmphdrname+tmphdrext+'""',...
//If current file is main C file, include header files corresponding to ODE
//functions, if any.
if(SharedInfo.NextSCIFunName == SharedInfo.SCIMainFunName)
- if(size(SharedInfo.ODElist) <> 0) //check if list is empty
+ if(size(SharedInfo.Includelist) <> 0) //check if list is empty
//If not empty, add those header files here.
- for cntlist = 1:size(SharedInfo.ODElist)
- PrintStringInfo('#include ""'+SharedInfo.ODElist(cntlist)+'.h""',...
+ for cntlist = 1:size(SharedInfo.Includelist)
+ PrintStringInfo('#include ""'+SharedInfo.Includelist(cntlist)+'.h""',...
FinalCFileName,'file','y');
end