comparison src/surfmode.asm @ 256:5b4ef0b9090d

place compass display code into compass_ops.asm
author heinrichsweikamp
date Mon, 23 Mar 2015 18:02:40 +0100
parents 416723c8ccd8
children 653a3ab08062
comparison
equal deleted inserted replaced
255:ad62dff7739a 256:5b4ef0b9090d
224 call TFT_surface_sensor ; ...update sensor data in surface mode 224 call TFT_surface_sensor ; ...update sensor data in surface mode
225 225
226 movlw .6 226 movlw .6
227 cpfseq menupos3 ; in compass view? 227 cpfseq menupos3 ; in compass view?
228 bra surfloop_loop2a ; No 228 bra surfloop_loop2a ; No
229 extern TFT_surface_compass_heading
229 call TFT_surface_compass_heading ; Yes, update compass heading value 230 call TFT_surface_compass_heading ; Yes, update compass heading value
230 231
231 surfloop_loop2a: 232 surfloop_loop2a:
232 btfsc toggle_customview ; Next view? 233 btfsc toggle_customview ; Next view?
233 call surf_customview_toggle ; Yes, show next customview (and delete this flag) 234 call surf_customview_toggle ; Yes, show next customview (and delete this flag)