diff src/customview.asm @ 256:5b4ef0b9090d

place compass display code into compass_ops.asm
author heinrichsweikamp
date Mon, 23 Mar 2015 18:02:40 +0100
parents 5fe7aff622f3
children 653a3ab08062
line wrap: on
line diff
--- a/src/customview.asm	Mon Mar 23 17:07:57 2015 +0100
+++ b/src/customview.asm	Mon Mar 23 18:02:40 2015 +0100
@@ -222,6 +222,7 @@
 surf_customview_init_view6:                 ; View6: Compass
     call    I2C_init_accelerometer          ; Start accelerometer
     call    I2C_init_compass                ; Start compass
+    extern  TFT_surface_compass_mask
     call	TFT_surface_compass_mask        ; Show compass
     bra		customview_toggle_exit          ; Done.
 surf_customview_init_view7:
@@ -444,6 +445,7 @@
 customview_init_view6:                      ; Compass (View 6)
     call    I2C_init_accelerometer          ; Start accelerometer
     call    I2C_init_compass                ; Start compass
+    extern  TFT_dive_compass_mask
     call	TFT_dive_compass_mask           ; Show compass
     bra		customview_toggle_exit