summaryrefslogtreecommitdiff
path: root/macros/ToolInitialization/UpdateSCI2CInfo.sci
diff options
context:
space:
mode:
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