From ee5bf4d90f78673d1e4d5a9dd304ee53c503c085 Mon Sep 17 00:00:00 2001 From: imushir Date: Tue, 9 Feb 2016 16:38:27 +0530 Subject: Support for Servo motor for Arduino. Support for'diag' in c --- macros/GeneralFunctions/SCI2COpenFileRead.sci | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'macros/GeneralFunctions/SCI2COpenFileRead.sci') diff --git a/macros/GeneralFunctions/SCI2COpenFileRead.sci b/macros/GeneralFunctions/SCI2COpenFileRead.sci index 1ad60ce5..8e54738c 100644 --- a/macros/GeneralFunctions/SCI2COpenFileRead.sci +++ b/macros/GeneralFunctions/SCI2COpenFileRead.sci @@ -24,7 +24,7 @@ SCI2CNInArgCheck(argn(2),1,1); // --- Open the .sci file (read only). --- [fidnumber,fiderror] = mopen(filename,'r'); if (fiderror < 0) - SCI2Cerror(['Cannot open (in read mode): '+filename]); + error(['Cannot open (in read mode): '+filename]); end endfunction -- cgit