From f5183f3411f852fcfa3932fbbd2c61ed64c5e870 Mon Sep 17 00:00:00 2001 From: "Michael J. Chudobiak" Date: Thu, 13 Dec 2012 11:07:29 -0500 Subject: XTRA RLY 5 activates PG B (from A, B, C) in AVR-E3-B-R5-N-M5 --- device-functions.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'device-functions.c') 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; } } } -- cgit