comparison src/customview.asm @ 249:94bf757690cf

ignore sensor for non-sensor hardware
author heinrichsweikamp
date Tue, 17 Mar 2015 12:16:15 +0100
parents 973a0969e0ac
children 5fe7aff622f3
comparison
equal deleted inserted replaced
248:afe73e1a0181 249:94bf757690cf
385 customview_init_view1: 385 customview_init_view1:
386 btfsc FLAG_apnoe_mode ; In Apnoe mode? 386 btfsc FLAG_apnoe_mode ; In Apnoe mode?
387 bra customview_toggle ; yes, Call next view... 387 bra customview_toggle ; yes, Call next view...
388 btfss FLAG_ccr_mode ; In CC mode? 388 btfss FLAG_ccr_mode ; In CC mode?
389 bra customview_toggle ; no, Call next view... 389 bra customview_toggle ; no, Call next view...
390 movf hardware_flag,W
391 sublw 0x11 ; 2 with BLE
392 btfsc STATUS,Z
393 bra customview_toggle ; no, Call next view...
390 394
391 bsf dive_hud1_displayed ; Set display flag 395 bsf dive_hud1_displayed ; Set display flag
392 bsf dive_hud2_displayed ; Set display flag 396 bsf dive_hud2_displayed ; Set display flag
393 bsf dive_hud3_displayed ; Set display flag 397 bsf dive_hud3_displayed ; Set display flag
394 call TFT_hud_mask ; Setup HUD mask 398 call TFT_hud_mask ; Setup HUD mask