summaryrefslogtreecommitdiff
path: root/error_utils.c
diff options
context:
space:
mode:
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;