diff options
Diffstat (limited to '2.3-1/macros/Scilab-Arduino')
-rw-r--r-- | 2.3-1/macros/Scilab-Arduino/GenerateSetupFunction.sci | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/2.3-1/macros/Scilab-Arduino/GenerateSetupFunction.sci b/2.3-1/macros/Scilab-Arduino/GenerateSetupFunction.sci index db96e190..416509c2 100644 --- a/2.3-1/macros/Scilab-Arduino/GenerateSetupFunction.sci +++ b/2.3-1/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); |