diff options
Diffstat (limited to 'parser.c')
-rw-r--r-- | parser.c | 11 |
1 files changed, 4 insertions, 7 deletions
@@ -2928,8 +2928,7 @@ static int Go_calib_amp_72(gchar** response, int channel, char *parameter,char * return SyntaxError; } - Set_Amp_Calib(channel,atof(parameter)*cal_val); - + return Set_Amp_Calib(channel,atof(parameter)*cal_val); break; default: @@ -2966,8 +2965,7 @@ static int Go_calib_mon_73(gchar** response, int channel, char *parameter,char * return SyntaxError; } - Set_Mon_Calib(channel,atof(parameter)*mon_val); - + return Set_Mon_Calib(channel,atof(parameter)*mon_val); break; default: @@ -3115,8 +3113,7 @@ static int Go_calib_os_76(gchar** response, int channel, char *parameter,char *u return SyntaxError; } - Set_OS_Calib(channel,atof(parameter)*mon_val); - + return Set_OS_Calib(channel,atof(parameter)*mon_val); break; default: @@ -3375,7 +3372,7 @@ static int Go_dly_shift_82(gchar** response, int channel, char *parameter,char * if (value>num_of_dly_shift_points || value<1) { return IllegalParameter; } - Set_Dly_Shr_Nom(channel,value); + return Set_Dly_Shr_Nom(channel,value); } else { return SyntaxError; } |