summaryrefslogtreecommitdiff
path: root/macros/Scilab-Arduino
diff options
context:
space:
mode:
Diffstat (limited to 'macros/Scilab-Arduino')
-rw-r--r--macros/Scilab-Arduino/GenerateSetupFunction.sci2
1 files changed, 1 insertions, 1 deletions
diff --git a/macros/Scilab-Arduino/GenerateSetupFunction.sci b/macros/Scilab-Arduino/GenerateSetupFunction.sci
index db96e19..7322cea 100644
--- a/macros/Scilab-Arduino/GenerateSetupFunction.sci
+++ b/macros/Scilab-Arduino/GenerateSetupFunction.sci
@@ -4,7 +4,7 @@ SetupListFile = FileInfo.SetupListFile;
load(SetupListFile,'SetupList');
-SetupArduinoFile = fullfile(FileInfo.CStyleOutCCCodeDir,'setup_arduino.c');
+SetupArduinoFile = fullfile(FileInfo.CStyleOutCCCodeDir,'setup_arduino.cpp');
C_SCI2CHeader(SetupArduinoFile);
PrintStringInfo('#include ""setup_arduino.h""',SetupArduinoFile,'file','y');