diff options
Diffstat (limited to 'parser.c')
-rw-r--r-- | parser.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1774,7 +1774,7 @@ static int Go_pw_36(gchar** response, int channel, char *parameter,char *units,i break; case query_simple: - if (globals.ChannelState[channel].ab_mode==pw_normal) { + if (globals.ChannelState[channel].pw_ctrl_mode==pw_normal) { return query_float(response, globals.ChannelState[channel].pw); } else { return query_string(response, "The output pulse width is equal to the input pulse width."); @@ -3617,7 +3617,7 @@ static int Go_puls_sep_89(gchar** response, int channel, char *parameter,char *u /* no break */ case command_withparam: - globals.ChannelState[channel].ab_mode=pw_normal; + globals.ChannelState[channel].pw_ctrl_mode=pw_normal; if (status = process_float_param (parameter, &new_pw, globals.Constraints.err_min_burst_time[channel], globals.Constraints.err_max_burst_time[channel], NORMAL_ZERO)) { return status; } |