diff options
author | Michael J. Chudobiak <mjc@avtechpulse.com> | 2013-08-08 15:22:44 -0400 |
---|---|---|
committer | Michael J. Chudobiak <mjc@avtechpulse.com> | 2013-08-08 15:22:44 -0400 |
commit | df095b947c630eefdd41bb9e1bd1e27121e506c6 (patch) | |
tree | 980965e49d9084f6d6977bb8a6557a18c0f3934a /parser.c | |
parent | 4cc3c2c26ad9657407b7e130896a231f693c16f9 (diff) |
rename ab_mode vars to pw_ctrl_mode, and remove ab_mode chankey
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; } |