diff options
author | Mike <mjc@avtechpulse.com> | 2000-01-01 00:05:25 +0900 |
---|---|---|
committer | Mike <mjc@avtechpulse.com> | 2000-01-01 00:05:25 +0900 |
commit | a0b5351f29a758174c45d1586b58ea8658c0577e (patch) | |
tree | 05d42e3a6d6f52874c88f583deca0f382821bbb5 | |
parent | c58e070614790cba63ccb6e39264b14ae5d30371 (diff) |
revert support of 3-pin keypad alarm configuration, but keep streamlined codeINSTRUMENT_6_4_38b
-rw-r--r-- | globals.h | 2 | ||||
-rw-r--r-- | menus.c | 4 |
2 files changed, 2 insertions, 4 deletions
@@ -432,7 +432,7 @@ typedef struct { short telnet_session_timeout; /* 56 - timeout in seconds */ - char older_keypad_3_alarm_pins; /* 58 */ + char unusedx; /* 58 */ short spare2; /* 59 */ char ChanKey_route; /* 61 */ char on_off_used; /* 62 */ @@ -2873,9 +2873,7 @@ static void Read_Keypad(int *button_port_val, int *upper_encoder_val, int *lower Over_Temp_Alarm = !(*upper_encoder_val & Over_Temp); Over_Volt_Alarm = !(*upper_encoder_val & Over_Volt); Over_Other_Alarm = !(*upper_encoder_val & Over_Other); - - // only on newer keypad boards - Jig_Alarm = !(*upper_encoder_val & Jig_Input) && !globals.Flash.older_keypad_3_alarm_pins; + Jig_Alarm = !(*upper_encoder_val & Jig_Input); /* alarm condition */ /* valid for both local and remote modes */ |