comparison src/customview.asm @ 583:6636cbe64c6d

optical input work
author heinrichsweikamp
date Tue, 27 Feb 2018 12:27:31 +0100
parents b455b31ce022
children ca4556fb60b9
comparison
equal deleted inserted replaced
582:b455b31ce022 583:6636cbe64c6d
514 bra customview_toggle ; no, Call next view... 514 bra customview_toggle ; no, Call next view...
515 515
516 customview_init_view1a: 516 customview_init_view1a:
517 btfsc analog_o2_input ; do we have an analog input? 517 btfsc analog_o2_input ; do we have an analog input?
518 bra customview_init_view1b ; YES - show this view 518 bra customview_init_view1b ; YES - show this view
519 btfss s8_digital ; NO - do we have a digital input? 519 btfsc s8_digital ; NO - do we have a digital input?
520 bra customview_toggle ; NO - call next view... 520 bra customview_init_view1b ; YES - show this view
521 ; YES - show this view 521 btfss optical_input ; NO - do we have an optical input?
522 bra customview_toggle ; NO - call next view...
523
524 ; YES - show this view
522 customview_init_view1b: 525 customview_init_view1b:
523 call TFT_hud_mask ; Setup HUD mask 526 call TFT_hud_mask ; Setup HUD mask
524 call TFT_update_ppo2_sensors ; Update Sensor data 527 call TFT_update_ppo2_sensors ; Update Sensor data
525 bra customview_toggle_exit 528 bra customview_toggle_exit
526 529