comparison src/customview.asm @ 626:be8787f2034d

compass3 support for 3.01 branch
author heinrichsweikamp
date Sun, 23 Jun 2019 15:21:16 +0200
parents d866684249bd
children
comparison
equal deleted inserted replaced
625:5c2ca77ce2df 626:be8787f2034d
241 call TFT_standard_color 241 call TFT_standard_color
242 call TFT_surface_tissues ; show tissue diagram 242 call TFT_surface_tissues ; show tissue diagram
243 bra customview_toggle_exit ; done 243 bra customview_toggle_exit ; done
244 244
245 surf_customview_init_view6: ; view 6: compass 245 surf_customview_init_view6: ; view 6: compass
246 call I2C_init_compass ; start compass
246 call I2C_init_accelerometer ; start accelerometer 247 call I2C_init_accelerometer ; start accelerometer
247 call I2C_init_compass ; start compass
248 call TFT_surface_compass_mask ; show compass mask 248 call TFT_surface_compass_mask ; show compass mask
249 bra customview_toggle_exit ; done 249 bra customview_toggle_exit ; done
250 250
251 surf_customview_init_view7: 251 surf_customview_init_view7:
252 btfsc FLAG_gauge_mode ; view 7: deco settings 252 btfsc FLAG_gauge_mode ; view 7: deco settings
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 bra customview_toggle_exit 592 bra customview_toggle_exit
593 593
594 init_TFT_dive_compass: ; compass 594 init_TFT_dive_compass: ; compass
595 call I2C_init_compass ; start compass
595 call I2C_init_accelerometer ; start accelerometer 596 call I2C_init_accelerometer ; start accelerometer
596 call I2C_init_compass ; start compass
597 call TFT_dive_compass_mask ; show compass mask 597 call TFT_dive_compass_mask ; show compass mask
598 bra customview_toggle_exit 598 bra customview_toggle_exit
599 599
600 init_pressures_SAC: ; tank pressure and SAC rate 600 init_pressures_SAC: ; tank pressure and SAC rate
601 IFDEF _rx_functions 601 IFDEF _rx_functions