summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--device-functions.c2
-rw-r--r--error_utils.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/device-functions.c b/device-functions.c
index ba9459d..4e7e54f 100644
--- a/device-functions.c
+++ b/device-functions.c
@@ -1426,7 +1426,7 @@ int Set_Update_Chans(void)
if (!globals.Flash.ChanKey_double_pulse) for (i=1; i<num_of_chan; ++i) {
globals.ChannelState[i].double_pulse=globals.ChannelState[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) {
globals.ChannelState[i].pw_ctrl_mode=globals.ChannelState[0].pw_ctrl_mode;
}
if (!globals.Flash.ChanKey_func_mode) for (i=1; i<num_of_chan; ++i) {
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) {