Mercurial > public > hwos_code
comparison src/menu_tree.asm @ 39:e4e91fe8b09d
remember last customview in dive and surface mode
author | mh@mh-THINK.fritz.box |
---|---|
date | Thu, 15 Aug 2013 13:55:55 +0200 |
parents | e402813343b6 |
children | ec4d8503ec45 |
comparison
equal
deleted
inserted
replaced
38:64976f1e0a1c | 39:e4e91fe8b09d |
---|---|
26 gui CODE | 26 gui CODE |
27 ;============================================================================= | 27 ;============================================================================= |
28 ; Main Menu | 28 ; Main Menu |
29 global do_main_menu | 29 global do_main_menu |
30 do_main_menu: | 30 do_main_menu: |
31 movff menupos3,customview_surfmode; save last customview | |
31 bcf sleepmode ; for timeout | 32 bcf sleepmode ; for timeout |
32 call menu_processor_reset ; restart from first icon. | 33 call menu_processor_reset ; restart from first icon. |
33 | 34 |
34 do_continue_main_menu: | 35 do_continue_main_menu: |
35 call menu_processor_pop ; drop exit line. | 36 call menu_processor_pop ; drop exit line. |