summaryrefslogtreecommitdiff
path: root/macros/ToolInitialization/UpdateSCI2CInfo.sci
diff options
context:
space:
mode:
authorimushir2016-02-09 17:00:34 +0530
committerimushir2016-02-09 17:00:34 +0530
commitfad04e78ac69db4ef74c1bd45154fc430c18cccc (patch)
tree29bb0c8b76e6882adbaaae67bd0e845e3280f73e /macros/ToolInitialization/UpdateSCI2CInfo.sci
parentee5bf4d90f78673d1e4d5a9dd304ee53c503c085 (diff)
parentbbdc94252ee563f0b01d4949868a583e43a2e6a8 (diff)
downloadScilab2C_fossee_old-fad04e78ac69db4ef74c1bd45154fc430c18cccc.tar.gz
Scilab2C_fossee_old-fad04e78ac69db4ef74c1bd45154fc430c18cccc.tar.bz2
Scilab2C_fossee_old-fad04e78ac69db4ef74c1bd45154fc430c18cccc.zip
merged RPi & diag
Diffstat (limited to 'macros/ToolInitialization/UpdateSCI2CInfo.sci')
-rw-r--r--macros/ToolInitialization/UpdateSCI2CInfo.sci2
1 files changed, 1 insertions, 1 deletions
diff --git a/macros/ToolInitialization/UpdateSCI2CInfo.sci b/macros/ToolInitialization/UpdateSCI2CInfo.sci
index 253299a..ed07907 100644
--- a/macros/ToolInitialization/UpdateSCI2CInfo.sci
+++ b/macros/ToolInitialization/UpdateSCI2CInfo.sci
@@ -61,7 +61,7 @@ FileInfo.Funct(funnumber).PfxP1WhileEpilFileName = fullfile(FileInfo.WorkingDir,
FileInfo.Funct(funnumber).CPass1FreeFileName = fullfile(FileInfo.WorkingDir,funname,SharedInfo.NextCFunName+'_pass1free.c');
FileInfo.Funct(funnumber).CPass2FileName = fullfile(FileInfo.WorkingDir,funname,SharedInfo.NextCFunName+'_pass2.c');
FileInfo.Funct(funnumber).Pass1HeaderFileName = fullfile(FileInfo.WorkingDir,funname,SharedInfo.NextCFunName+'.h');
-if (SharedInfo.OutFormat == 'Arduino')
+if (SharedInfo.Target == 'Arduino')
//In case of "Arduino" target, *.cpp files should be generated, not *.c files.
FileInfo.Funct(funnumber).FinalCFileName = fullfile(FileInfo.OutCCCodeDir,SharedInfo.NextCFunName+'.cpp');
else