diff options
author | Michael J. Chudobiak <mjc@avtechpulse.com> | 2013-08-08 15:25:54 -0400 |
---|---|---|
committer | Michael J. Chudobiak <mjc@avtechpulse.com> | 2013-08-08 15:25:54 -0400 |
commit | 73d7c34660a5fbee66dfe95979778e0f9a86dee6 (patch) | |
tree | d075da5023fcf86d7c69119abc28d98af536af55 | |
parent | df095b947c630eefdd41bb9e1bd1e27121e506c6 (diff) |
finish ab_mode chankey changes
-rw-r--r-- | device-functions.c | 2 | ||||
-rw-r--r-- | error_utils.c | 2 |
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) { |