diff options
author | Michael J. Chudobiak <mjc@avtechpulse.com> | 2012-12-13 11:07:29 -0500 |
---|---|---|
committer | Michael J. Chudobiak <mjc@avtechpulse.com> | 2012-12-13 11:07:29 -0500 |
commit | f5183f3411f852fcfa3932fbbd2c61ed64c5e870 (patch) | |
tree | e4116c52aa0fe96d1f75aa64dde3f5000b29e4eb | |
parent | e0a92714bbc15e1dce3dad66be9bbf29b93ac0cc (diff) |
XTRA RLY 5 activates PG B (from A, B, C) in AVR-E3-B-R5-N-M5
-rw-r--r-- | device-functions.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/device-functions.c b/device-functions.c index 353f1b1..9ccacce 100644 --- a/device-functions.c +++ b/device-functions.c @@ -413,8 +413,12 @@ int Set_Pw(int check_possible_only,int word_override,int range_override,int chan if (relay_range==1) { cap_range_control=0; + // also, set XTRA RLY 5 high in this range for AVR-E3-B-R5-N-M5, and other + // units with PG A, B, and C. This corresponds to PG B. + globals.Registers.shift_reg_out[2] |= (long)0x80000; } else { cap_range_control = 1 << (relay_range-2); + globals.Registers.shift_reg_out[2] &= (long)0x7ffff; } } } |