comparison src/customview.asm @ 608:d866684249bd

work on 2.99 stable
author heinrichsweikamp
date Mon, 07 Jan 2019 21:13:43 +0100
parents ca4556fb60b9
children c40025d8e750 be8787f2034d
comparison
equal deleted inserted replaced
607:c5151a490d88 608:d866684249bd
65 dcfsnz WREG,F ; 10: 65 dcfsnz WREG,F ; 10:
66 goto TFT_CNS ; CNS values 66 goto TFT_CNS ; CNS values
67 dcfsnz WREG,F ; 11: 67 dcfsnz WREG,F ; 11:
68 goto TFT_ppo2_ead_end_cns ; ppO2, END/EAD and CNS 68 goto TFT_ppo2_ead_end_cns ; ppO2, END/EAD and CNS
69 dcfsnz WREG,F ; 12: 69 dcfsnz WREG,F ; 12:
70 goto TFT_gf_factors ; GF factors 70 return ; GF factors - only static data
71 dcfsnz WREG,F ; 13: 71 dcfsnz WREG,F ; 13:
72 goto TFT_clock_batt_surfpress ; clock, battery and surface pressure 72 goto TFT_clock_batt_surfpress ; clock, battery and surface pressure
73 return ; menupos3 = 0 -> do nothing 73 return ; menupos3 = 0 -> do nothing
74 74
75 75
587 btfsc FLAG_gauge_mode ; in gauge mode? 587 btfsc FLAG_gauge_mode ; in gauge mode?
588 bra customview_toggle ; YES - call next view 588 bra customview_toggle ; YES - call next view
589 TSTOSS char_I_deco_model ; in GF mode (0 = ZH-L16, 1 = ZH-L16-GF)? 589 TSTOSS char_I_deco_model ; in GF mode (0 = ZH-L16, 1 = ZH-L16-GF)?
590 bra customview_toggle ; NO - no GF info for non-GF modes 590 bra customview_toggle ; NO - no GF info for non-GF modes
591 call TFT_gf_factors_mask ; mask for GF factors 591 call TFT_gf_factors_mask ; mask for GF factors
592 call TFT_gf_factors ; data for GF factors
593 bra customview_toggle_exit 592 bra customview_toggle_exit
594 593
595 init_TFT_dive_compass: ; compass 594 init_TFT_dive_compass: ; compass
596 call I2C_init_accelerometer ; start accelerometer 595 call I2C_init_accelerometer ; start accelerometer
597 call I2C_init_compass ; start compass 596 call I2C_init_compass ; start compass