Mercurial > public > hwos_code
changeset 230:f6548e8f06f5
Bugfix: Check for divemode before checking for menu
author | mh@mh-THINK |
---|---|
date | Fri, 20 Feb 2015 00:15:22 +0100 |
parents | e1e5876bd777 |
children | 834e1c35160c |
files | src/surfmode.asm |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/surfmode.asm Wed Feb 18 23:07:04 2015 +0100 +++ b/src/surfmode.asm Fri Feb 20 00:15:22 2015 +0100 @@ -194,6 +194,9 @@ call update_surfloop60 ; yes, e.g. update time and date ; Mode tasks + btfsc divemode ; Divemode active? + goto diveloop ; Yes, switch into Divemode! + btfsc menubit ; Menu? goto do_main_menu ; Menu! @@ -238,8 +241,6 @@ bra surfloop_loop4 call TFT_dump_screen ; Dump the screen contents surfloop_loop4: - btfsc divemode ; Divemode active? - goto diveloop ; Yes, switch into Divemode! btfsc sleepmode ; Sleepmode active? goto sleeploop ; Yes, switch into sleepmode!