diff src/divemode.asm @ 256:5b4ef0b9090d

place compass display code into compass_ops.asm
author heinrichsweikamp
date Mon, 23 Mar 2015 18:02:40 +0100
parents ad62dff7739a
children 9347893b74ce
line wrap: on
line diff
--- a/src/divemode.asm	Mon Mar 23 17:07:57 2015 +0100
+++ b/src/divemode.asm	Mon Mar 23 18:02:40 2015 +0100
@@ -127,6 +127,7 @@
     movlw   .6
     cpfseq  menupos3                    ; in compass view?
     bra     diveloop_loop4a             ; No
+    extern  TFT_dive_compass_heading
     call    TFT_dive_compass_heading    ; Yes, update compass heading value
 diveloop_loop4a:
     btfsc   enable_screen_dumps         ; =1: Ignore vin_usb, wait for "l" command (Screen dump)