summaryrefslogtreecommitdiff
path: root/device-functions.c
diff options
context:
space:
mode:
Diffstat (limited to 'device-functions.c')
-rw-r--r--device-functions.c2
1 files changed, 1 insertions, 1 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) {