summaryrefslogtreecommitdiff
path: root/error_utils.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 /error_utils.c
parent4cc3c2c26ad9657407b7e130896a231f693c16f9 (diff)
rename ab_mode vars to pw_ctrl_mode, and remove ab_mode chankey
Diffstat (limited to 'error_utils.c')
-rw-r--r--error_utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/error_utils.c b/error_utils.c
index 1b0b19e..5e68ba6 100644
--- a/error_utils.c
+++ b/error_utils.c
@@ -588,8 +588,8 @@ int Error_check(ChannelStruct ChannelStateToTest[max_channels])
if (!globals.Flash.ChanKey_double_pulse) for (i=1; i<num_of_chan; ++i) {
ChannelStateToTest[i].double_pulse=ChannelStateToTest[0].double_pulse;
}
- if (!globals.Flash.ChanKey_ab_mode) for (i=1; i<num_of_chan; ++i) {
- ChannelStateToTest[i].ab_mode=ChannelStateToTest[0].ab_mode;
+ if (!globals.Flash.ChanKey_pw_mode) for (i=1; i<num_of_chan; ++i) {
+ ChannelStateToTest[i].pw_ctrl_mode=ChannelStateToTest[0].pw_ctrl_mode;
}
if (!globals.Flash.ChanKey_func_mode) for (i=1; i<num_of_chan; ++i) {
ChannelStateToTest[i].func_mode=ChannelStateToTest[0].func_mode;