summaryrefslogtreecommitdiff
path: root/macros/Scilab-Arduino/GenerateSetupFunction.sci
diff options
context:
space:
mode:
authorimushir2016-01-18 11:47:44 +0530
committerimushir2016-01-18 11:47:44 +0530
commitc3cc6d1d15d8cf60a27f253205424adb9e498e6e (patch)
tree13a765be45b0daf44a48c1fdef423dbf01155970 /macros/Scilab-Arduino/GenerateSetupFunction.sci
parent7382a75d68141d72562f219a839543c9c6fc83aa (diff)
downloadScilab2C_fossee_old-c3cc6d1d15d8cf60a27f253205424adb9e498e6e.tar.gz
Scilab2C_fossee_old-c3cc6d1d15d8cf60a27f253205424adb9e498e6e.tar.bz2
Scilab2C_fossee_old-c3cc6d1d15d8cf60a27f253205424adb9e498e6e.zip
added support for uin8,uint16,int8,int16 and not in GeneratedSetup.sci,u8cmd_digital_outs.c,getAllInterfaces.sci,getAllHeaders.sci
Diffstat (limited to 'macros/Scilab-Arduino/GenerateSetupFunction.sci')
-rw-r--r--macros/Scilab-Arduino/GenerateSetupFunction.sci3
1 files changed, 0 insertions, 3 deletions
diff --git a/macros/Scilab-Arduino/GenerateSetupFunction.sci b/macros/Scilab-Arduino/GenerateSetupFunction.sci
index db96e19..416509c 100644
--- a/macros/Scilab-Arduino/GenerateSetupFunction.sci
+++ b/macros/Scilab-Arduino/GenerateSetupFunction.sci
@@ -1,9 +1,7 @@
function GenerateSetupFunction(FileInfo)
SetupListFile = FileInfo.SetupListFile;
-
load(SetupListFile,'SetupList');
-
SetupArduinoFile = fullfile(FileInfo.CStyleOutCCCodeDir,'setup_arduino.c');
C_SCI2CHeader(SetupArduinoFile);
@@ -13,7 +11,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);