summaryrefslogtreecommitdiff
path: root/parser.c
diff options
context:
space:
mode:
authorMichael J. Chudobiak <mjc@avtechpulse.com>2013-08-08 15:22:44 -0400
committerMichael J. Chudobiak <mjc@avtechpulse.com>2013-08-08 15:22:44 -0400
commitdf095b947c630eefdd41bb9e1bd1e27121e506c6 (patch)
tree980965e49d9084f6d6977bb8a6557a18c0f3934a /parser.c
parent4cc3c2c26ad9657407b7e130896a231f693c16f9 (diff)
rename ab_mode vars to pw_ctrl_mode, and remove ab_mode chankey
Diffstat (limited to 'parser.c')
-rw-r--r--parser.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/parser.c b/parser.c
index 5b4779a..0147e69 100644
--- a/parser.c
+++ b/parser.c
@@ -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;
}