Mercurial > public > hwos_code
diff src/customview.asm @ 102:37275e0fa7f5
NEW: Show End-of-Dive time together with clock during deco
author | heinrichsweikamp |
---|---|
date | Wed, 07 May 2014 14:57:58 +0200 |
parents | 2825f1d2262f |
children | 0aaa4877ba25 |
line wrap: on
line diff
--- a/src/customview.asm Sun May 04 21:23:09 2014 +0200 +++ b/src/customview.asm Wed May 07 14:57:58 2014 +0200 @@ -44,6 +44,8 @@ bra customview_1sec_view6 dcfsnz WREG,F bra customview_1sec_view7 + dcfsnz WREG,F + bra customview_1sec_view8 ; Menupos3=0, do nothing return @@ -68,6 +70,9 @@ customview_1sec_view7: ; Dynamic gaslist call TFT_dyn_gaslist ; Update the gaslist return +customview_1sec_view8: ; Sensor voltages + call TFT_hud_voltages ; Show HUD details + return ;============================================================================= ; Do every-minute tasks for the custom view area @@ -291,7 +296,7 @@ customview_toggle: bcf switch_right incf menupos3,F ; Number of customview to show - movlw d'7' ; Max number of customsviews in divemode + movlw d'8' ; Max number of customsviews in divemode cpfsgt menupos3 ; Max reached? bra customview_mask ; No, show customview_toggle_reset: ; Timeout occured @@ -381,6 +386,15 @@ call TFT_dyn_gaslist ; Show the dyn gaslist bra customview_toggle_exit +customview_init_view8: ; Sensor millivolts + btfsc FLAG_apnoe_mode ; In Apnoe mode? + bra customview_toggle ; yes, Call next view... + btfss FLAG_ccr_mode ; In CC mode? + bra customview_toggle ; no, Call next view... + call TFT_hud_mask ; Setup HUD mask + call TFT_hud_voltages ; Show HUD details + bra customview_toggle_exit + customview_toggle_exit: call TFT_standard_color bcf toggle_customview ; Clear flag