Mercurial > public > hwos_code
diff src/divemenu_tree.asm @ 583:6636cbe64c6d
optical input work
author | heinrichsweikamp |
---|---|
date | Tue, 27 Feb 2018 12:27:31 +0100 |
parents | b455b31ce022 |
children | ca4556fb60b9 |
line wrap: on
line diff
--- a/src/divemenu_tree.asm Mon Feb 26 16:40:28 2018 +0100 +++ b/src/divemenu_tree.asm Tue Feb 27 12:27:31 2018 +0100 @@ -63,10 +63,12 @@ MENU_END main_divemenu_pscr: - btfsc analog_o2_input ; do we have an analog input? - bra main_divemenu_pscr_sensors ; YES - btfsc s8_digital ; do we have a digital input? - bra main_divemenu_pscr_sensors ; YES + btfsc analog_o2_input ; do we have an analog input? + bra main_divemenu_pscr_sensors ; YES + btfsc s8_digital ; do we have a digital input? + bra main_divemenu_pscr_sensors ; YES + btfsc optical_input ; do we have an optical input? + bra main_divemenu_pscr_sensors ; YES main_divemenu_pscr_no_sensors: MENU_BEGIN tMainMenu, .6 @@ -323,7 +325,9 @@ do_divemode_splist_common: btfsc analog_o2_input ; do we have an analog input? bra do_divemode_splist_sensor ; YES - btfsc s8_digital ; do we have a digital input? + btfsc s8_digital ; do we have a digital input? + bra do_divemode_splist_sensor ; YES + btfsc optical_input ; do we have an optical input? bra do_divemode_splist_sensor ; YES do_divemode_splist_no_sensor: