Mercurial > public > hwos_code
diff src/tft_outputs.asm @ 188:ebc28381f17d
NEW: Show Bailout Gas List in Surface mode (CCR Modes)
CHANGE: Faster update rate for sensor display in surface mode
author | heinrichsweikamp |
---|---|
date | Mon, 27 Oct 2014 11:28:48 +0100 |
parents | 669b5d00706d |
children | e79bc535ef9e |
line wrap: on
line diff
--- a/src/tft_outputs.asm Sat Oct 25 15:28:18 2014 +0200 +++ b/src/tft_outputs.asm Mon Oct 27 11:28:48 2014 +0100 @@ -1048,49 +1048,49 @@ call TFT_standard_color return - global TFT_surface_hud ; Update HUD data in surface mode -TFT_surface_hud: + global TFT_surface_sensor ; Update Sensor data in surface mode +TFT_surface_sensor: ; show three sensors bsf leftbind WIN_SMALL surf_hud_sensor1_column,surf_hud_sensor1_row movff o2_ppo2_sensor1,lo tstfsz lo ; ppO2=0 (No data/failure)? - bra TFT_surface_hud1 ; No + bra TFT_surface_sensor1 ; No call TFT_standard_color STRCPY_PRINT "--- " - bra TFT_surface_hud2 ; Skip Sensor 1 -TFT_surface_hud1: + bra TFT_surface_sensor2 ; Skip Sensor 1 +TFT_surface_sensor1: TFT_color_code warn_ppo2_hud ; With ppO2 [cbar] in lo clrf hi output_16dp .3 ; x.xx bar STRCAT_PRINT "" -TFT_surface_hud2: +TFT_surface_sensor2: WIN_SMALL surf_hud_sensor2_column,surf_hud_sensor2_row movff o2_ppo2_sensor2,lo tstfsz lo ; ppO2=0 (No data/failure)? - bra TFT_surface_hud3 ; No + bra TFT_surface_sensor3 ; No call TFT_standard_color STRCPY_PRINT "--- " - bra TFT_surface_hud4 ; Skip Sensor 2 -TFT_surface_hud3: + bra TFT_surface_sensor4 ; Skip Sensor 2 +TFT_surface_sensor3: TFT_color_code warn_ppo2_hud ; With ppO2 [cbar] in lo clrf hi output_16dp .3 ; x.xx bar STRCAT_PRINT "" -TFT_surface_hud4: +TFT_surface_sensor4: WIN_SMALL surf_hud_sensor3_column,surf_hud_sensor3_row movff o2_ppo2_sensor3,lo tstfsz lo ; ppO2=0 (No data/failure)? - bra TFT_surface_hud5 ; No + bra TFT_surface_sensor5 ; No call TFT_standard_color STRCPY_PRINT "--- " - bra TFT_surface_hud6 ; Skip Sensor 3 -TFT_surface_hud5: + bra TFT_surface_sensor6 ; Skip Sensor 3 +TFT_surface_sensor5: TFT_color_code warn_ppo2_hud ; With ppO2 [cbar] in lo clrf hi output_16dp .3 ; x.xx bar STRCAT_PRINT "" -TFT_surface_hud6: +TFT_surface_sensor6: bcf leftbind call TFT_standard_color return