diff options
Diffstat (limited to 'error_utils.c')
-rw-r--r-- | error_utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/error_utils.c b/error_utils.c index 5e68ba6..503724d 100644 --- a/error_utils.c +++ b/error_utils.c @@ -588,7 +588,7 @@ 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_pw_mode) for (i=1; i<num_of_chan; ++i) { + if (!globals.Flash.ChanKey_pw) 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) { |