Mercurial > public > hwos_code
comparison 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 |
comparison
equal
deleted
inserted
replaced
255:ad62dff7739a | 256:5b4ef0b9090d |
---|---|
125 | 125 |
126 bcf quarter_second_update | 126 bcf quarter_second_update |
127 movlw .6 | 127 movlw .6 |
128 cpfseq menupos3 ; in compass view? | 128 cpfseq menupos3 ; in compass view? |
129 bra diveloop_loop4a ; No | 129 bra diveloop_loop4a ; No |
130 extern TFT_dive_compass_heading | |
130 call TFT_dive_compass_heading ; Yes, update compass heading value | 131 call TFT_dive_compass_heading ; Yes, update compass heading value |
131 diveloop_loop4a: | 132 diveloop_loop4a: |
132 btfsc enable_screen_dumps ; =1: Ignore vin_usb, wait for "l" command (Screen dump) | 133 btfsc enable_screen_dumps ; =1: Ignore vin_usb, wait for "l" command (Screen dump) |
133 bra diveloop_loop5 | 134 bra diveloop_loop5 |
134 bra diveloop_loop6 | 135 bra diveloop_loop6 |