Mercurial > public > hwos_code
diff src/customview.asm @ 337:508d7fb98b34
cleanup menu, add "Auto SP" option (Not working yet), minor layout change in compass menu
author | heinrichsweikamp |
---|---|
date | Sun, 28 Jun 2015 13:58:00 +0200 |
parents | 14b466f66a7f |
children | 573f2251cf49 |
line wrap: on
line diff
--- a/src/customview.asm Sun Jun 28 05:05:46 2015 +0200 +++ b/src/customview.asm Sun Jun 28 13:58:00 2015 +0200 @@ -78,9 +78,6 @@ customview_1sec_view9: ; Ceiling call TFT_ceiling ; Show Ceiling - TSTOSS opt_extceiling ; 0=skip, 1=draw - return - ; ppO2 value call TFT_display_ppo2_val @@ -478,8 +475,9 @@ bra customview_toggle ; yes, Call next view... btfss FLAG_ccr_mode ; In CC mode? bra customview_toggle ; no, Call next view... - TSTOSS opt_ccr_mode ; =0: Fixed SP, =1: Sensor - bra customview_toggle ; no, Call next view... + movff opt_ccr_mode,WREG ; =0: Fixed SP, =1: Sensor, =2: Auto SP + sublw .1 ; opt_ccr_mode = 1 (Sensor)? + bnz customview_toggle ; no, Call next view... call TFT_hud_mask ; Setup HUD mask call TFT_hud_voltages ; Show HUD details bra customview_toggle_exit @@ -492,9 +490,6 @@ call TFT_ceiling_mask ; Setup mask call TFT_ceiling ; Show Ceiling - TSTOSS opt_extceiling ; 0=skip, 1=draw - bra customview_toggle_exit - ; ppO2 value call TFT_mask_ppo2 call TFT_display_ppo2_val