diff options
author | Michael J. Chudobiak <mjc@avtechpulse.com> | 2014-04-25 09:40:39 -0400 |
---|---|---|
committer | Michael J. Chudobiak <mjc@avtechpulse.com> | 2014-04-25 09:40:39 -0400 |
commit | 30bbec846aebe3a1262d53ef73de681ae6a65f3a (patch) | |
tree | 8c55e80a48db111c44d80716a75641782be4cc3f /parser.c | |
parent | 8a93db1e9061255b0216b1369a9768827610d8dd (diff) |
fixed improper returns in some calibration parser routines
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; } |