diff options
author | siddhu8990 | 2016-02-01 11:29:45 +0530 |
---|---|---|
committer | siddhu8990 | 2016-02-01 11:29:45 +0530 |
commit | bbdc94252ee563f0b01d4949868a583e43a2e6a8 (patch) | |
tree | 5f5197d22bba24e41928c98aed936dc5ad828fcf /macros/Scilab-Arduino/GenerateSetupFunction.sci | |
parent | 5df6d1cb2868abdc8df66755f76c997ee36c0b49 (diff) | |
parent | 8ee41aca4183a0239b9cb220de3f159b1f0910fb (diff) | |
download | Scilab2C_fossee_old-bbdc94252ee563f0b01d4949868a583e43a2e6a8.tar.gz Scilab2C_fossee_old-bbdc94252ee563f0b01d4949868a583e43a2e6a8.tar.bz2 Scilab2C_fossee_old-bbdc94252ee563f0b01d4949868a583e43a2e6a8.zip |
Merged RPi and bit operators
Diffstat (limited to 'macros/Scilab-Arduino/GenerateSetupFunction.sci')
-rw-r--r-- | macros/Scilab-Arduino/GenerateSetupFunction.sci | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/macros/Scilab-Arduino/GenerateSetupFunction.sci b/macros/Scilab-Arduino/GenerateSetupFunction.sci index 7322cea..33a515d 100644 --- a/macros/Scilab-Arduino/GenerateSetupFunction.sci +++ b/macros/Scilab-Arduino/GenerateSetupFunction.sci @@ -1,9 +1,10 @@ +//Scilab2C IITB FOSSEE function GenerateSetupFunction(FileInfo) SetupListFile = FileInfo.SetupListFile; - load(SetupListFile,'SetupList'); +SetupArduinoFile = fullfile(FileInfo.CStyleOutCCCodeDir,'setup_arduino.c'); SetupArduinoFile = fullfile(FileInfo.CStyleOutCCCodeDir,'setup_arduino.cpp'); C_SCI2CHeader(SetupArduinoFile); @@ -13,7 +14,6 @@ PrintStringInfo('int setup_arduino()',SetupArduinoFile,'file','y'); PrintStringInfo('{',SetupArduinoFile,'file','y'); nelements=size(SetupList); - for i=1:nelements funcall = ' '; funcall = funcall + SetupList(i)(1); |