diff 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
line wrap: on
line diff
--- a/src/customview.asm	Sun Jun 23 13:29:17 2019 +0200
+++ b/src/customview.asm	Sun Jun 23 15:21:16 2019 +0200
@@ -243,8 +243,8 @@
 	bra		customview_toggle_exit		; done
 
 surf_customview_init_view6:				; view 6: compass
+	call	I2C_init_compass			; start 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
 
@@ -592,8 +592,8 @@
 	bra		customview_toggle_exit
 
 init_TFT_dive_compass:					; compass
+	call	I2C_init_compass			; start 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