Mercurial > public > hwos_code
comparison src/calibrate.asm @ 227:03946aa48fa5
NEW: Support for hwHUD without the LED module
re-enable "Copy disable flags from digital input" routine
author | heinrichsweikamp |
---|---|
date | Mon, 02 Feb 2015 17:39:38 +0100 |
parents | 5a4801918be9 |
children | 23311219dacc |
comparison
equal
deleted
inserted
replaced
226:8c11f60193be | 227:03946aa48fa5 |
---|---|
83 | 83 |
84 btfss hud_connection_ok ;=1: HUD connection ok | 84 btfss hud_connection_ok ;=1: HUD connection ok |
85 bra check_sensor2 ; No HUD/Digital data | 85 bra check_sensor2 ; No HUD/Digital data |
86 | 86 |
87 ; Copy disable flags from digital input | 87 ; Copy disable flags from digital input |
88 ; btfss sensor1_active | 88 btfss sensor1_active |
89 ; bcf use_O2_sensor1 | 89 bcf use_O2_sensor1 |
90 ; btfss sensor2_active | 90 btfss sensor2_active |
91 ; bcf use_O2_sensor2 | 91 bcf use_O2_sensor2 |
92 ; btfss sensor3_active | 92 btfss sensor3_active |
93 ; bcf use_O2_sensor3 | 93 bcf use_O2_sensor3 |
94 bra check_sensor3 ; Check for voting logic | 94 bra check_sensor3 ; Check for voting logic |
95 | 95 |
96 check_sensor2: | 96 check_sensor2: |
97 ; Copy disable flags from internal calibration routine | 97 ; Copy disable flags from internal calibration routine |
98 btfss sensor1_calibrated_ok | 98 btfss sensor1_calibrated_ok |