diff options
author | imushir | 2016-01-18 11:47:44 +0530 |
---|---|---|
committer | imushir | 2016-01-18 11:47:44 +0530 |
commit | bcb2bf1c014a1078f4306cd0111f4e596fe934ce (patch) | |
tree | 2aaae4926f8354f89b2061599d62b5d650e1535e /2.3-1/macros/Scilab-Arduino/GenerateSetupFunction.sci | |
parent | 03a27e6884942182e984433fd2ebba7e5f55a4d9 (diff) | |
download | Scilab2C-bcb2bf1c014a1078f4306cd0111f4e596fe934ce.tar.gz Scilab2C-bcb2bf1c014a1078f4306cd0111f4e596fe934ce.tar.bz2 Scilab2C-bcb2bf1c014a1078f4306cd0111f4e596fe934ce.zip |
added support for uin8,uint16,int8,int16 and not in GeneratedSetup.sci,u8cmd_digital_outs.c,getAllInterfaces.sci,getAllHeaders.sci
Diffstat (limited to '2.3-1/macros/Scilab-Arduino/GenerateSetupFunction.sci')
-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); |