Mercurial > public > hwos_code
diff src/customview.asm @ 628:cd58f7fc86db
3.05 stable work
| author | heinrichsweikamp |
|---|---|
| date | Thu, 19 Sep 2019 12:01:29 +0200 |
| parents | c40025d8e750 |
| children | 185ba2f91f59 |
line wrap: on
line diff
--- a/src/customview.asm Sun Jun 30 23:22:32 2019 +0200 +++ b/src/customview.asm Thu Sep 19 12:01:29 2019 +0200 @@ -1,6 +1,6 @@ ;============================================================================= ; -; File customview.asm combined next generation V3.03.2 +; File customview.asm combined next generation V3.03.5 ; ; Custom Views in Surface and Dive Mode ; @@ -100,9 +100,6 @@ IFDEF _compass movlw .6 ; index of surface custom view compass cpfseq active_customview ; will compass be shown in custom view? - call I2C_sleep_accelerometer ; NO - stop accelerometer - movlw .6 ; index of surface custom view compass - cpfseq active_customview ; will compass be shown in custom view? call I2C_sleep_compass ; NO - stop compass ENDIF @@ -234,7 +231,6 @@ surf_customview_init_view6: ; view 6: compass IFDEF _compass - call I2C_init_accelerometer ; start accelerometer call I2C_init_compass ; start compass call TFT_surface_compass_mask ; show compass mask bra customview_toggle_exit ; done @@ -422,7 +418,7 @@ menuview_view9: btfsc FLAG_apnoe_mode ; in apnoe mode? bra menuview_toggle ; YES - goto next option - STRCPY_PRINT "Layout" ; NO - print "Layout" + STRCPY_TEXT_PRINT tDiveLayout ; NO - print "Layout" bra menuview_exit ; - done ;----------------------------------------------------------------------------- @@ -434,9 +430,6 @@ movlw index_compass_dm ; index of custom view compass cpfseq active_customview ; will compass be shown in custom view? - call I2C_sleep_accelerometer ; NO - stop accelerometer - movlw index_compass_dm ; index of custom view compass - cpfseq active_customview ; will compass be shown in custom view? call I2C_sleep_compass ; NO - stop compass movlw index_cv_dm_max ; highest index in use in dive mode custom view @@ -542,7 +535,6 @@ init_TFT_dive_compass: ; compass IFDEF _compass - call I2C_init_accelerometer ; start accelerometer call I2C_init_compass ; start compass call TFT_dive_compass_mask ; show compass mask bra customview_toggle_exit ; done
