Mercurial > public > mk2
diff code_part1/OSTC_code_asm_part1/menu_gassetup.asm @ 575:cbdcbbc91877
some code cleaning
author | heinrichsweikamp |
---|---|
date | Sat, 21 Apr 2012 15:08:09 +0200 |
parents | 7f5419d4157d |
children | ab2686087bce |
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/menu_gassetup.asm Sat Apr 21 13:58:30 2012 +0200 +++ b/code_part1/OSTC_code_asm_part1/menu_gassetup.asm Sat Apr 21 15:08:09 2012 +0200 @@ -192,14 +192,8 @@ btfsc menubit2 bra do_gassetup_list ; call gas-specific submenu - btfsc divemode - goto restart ; dive started! - btfsc onesecupdate - call timeout_surfmode - - btfsc onesecupdate - call set_dive_modes + call menu_check_dive_and_timeout ; "Goto restart" or sets sleepmode flag bcf onesecupdate ; 1 sec. functions done @@ -425,14 +419,8 @@ btfsc menubit2 bra do_gassetup ; call submenu - btfsc divemode - goto restart ; dive started! - btfsc onesecupdate - call timeout_surfmode - - btfsc onesecupdate - call set_dive_modes + call menu_check_dive_and_timeout ; "Goto restart" or sets sleepmode flag bcf onesecupdate ; 1 sec. functions done @@ -770,14 +758,8 @@ btfsc menubit2 bra do_next_gas_page ; call submenu - btfsc divemode - goto restart ; dive started! - btfsc onesecupdate - call timeout_surfmode - - btfsc onesecupdate - call set_dive_modes + call menu_check_dive_and_timeout ; "Goto restart" or sets sleepmode flag bcf onesecupdate ; 1 sec. functions done