comparison src/menu_tree.asm @ 66:00636132cca6

BUGFIX: Maintain last selected customview in surface mode
author heinrichsweikamp
date Sat, 11 Jan 2014 18:03:04 +0100
parents 40a5cc0664ed
children a5ea132770db
comparison
equal deleted inserted replaced
65:11af55b5ebbb 66:00636132cca6
24 #include "adc_lightsensor.inc" 24 #include "adc_lightsensor.inc"
25 25
26 gui CODE 26 gui CODE
27 ;============================================================================= 27 ;=============================================================================
28 ; Main Menu 28 ; Main Menu
29 global do_main_menu 29 global do_main_menu,do_main_menu2
30 do_main_menu: 30 do_main_menu:
31 movff menupos3,customview_surfmode; save last customview 31 movff menupos3,customview_surfmode; save last customview
32 do_main_menu2:
32 bcf sleepmode ; for timeout 33 bcf sleepmode ; for timeout
33 call menu_processor_reset ; restart from first icon. 34 call menu_processor_reset ; restart from first icon.
34 35
35 do_continue_main_menu: 36 do_continue_main_menu:
36 call menu_processor_pop ; drop exit line. 37 call menu_processor_pop ; drop exit line.