Mercurial > public > hwos_code
comparison src/surfmode.asm @ 145:e3ac5b2021bc
NEW: Setpoint-Fallback option for external O2 sensor failure
author | heinrichsweikamp |
---|---|
date | Tue, 05 Aug 2014 16:55:09 +0200 |
parents | 939f1e83c4c2 |
children | 683321c09cfa |
comparison
equal
deleted
inserted
replaced
144:b839972db982 | 145:e3ac5b2021bc |
---|---|
191 call TFT_debug_output | 191 call TFT_debug_output |
192 call TFT_clock ; update clock | 192 call TFT_clock ; update clock |
193 call timeout_surfmode ; check timeout | 193 call timeout_surfmode ; check timeout |
194 call get_battery_voltage ; get battery voltage | 194 call get_battery_voltage ; get battery voltage |
195 call compute_ppo2 ; compute mv_sensorX and ppo2_sensorX arrays | 195 call compute_ppo2 ; compute mv_sensorX and ppo2_sensorX arrays |
196 call check_sensors ; Set enable/disable flags | |
196 call TFT_update_batt_voltage ; display battery voltage | 197 call TFT_update_batt_voltage ; display battery voltage |
197 call set_dive_modes ; tests if depth>threshold | 198 call set_dive_modes ; tests if depth>threshold |
198 btfss secs,0 ; Every two seconds... | 199 btfss secs,0 ; Every two seconds... |
199 call TFT_temp_surfmode ; Displays temperature | 200 call TFT_temp_surfmode ; Displays temperature |
200 btfss secs,0 ; Every two seconds... | 201 btfss secs,0 ; Every two seconds... |