diff src/menu_tree.asm @ 375:a9e35c1327aa

1.88 release, BUGFIX: Start with Sensor use from sleep (cR only), CHANGE: Apply button settings when button menu is closed, NEW: Reset button settings on a magnet reset (cR and OSTC 2)
author heinrichsweikamp
date Thu, 27 Aug 2015 17:05:13 +0200
parents 2be48ccfa9de
children 61984f91174a
line wrap: on
line diff
--- a/src/menu_tree.asm	Tue Aug 25 14:22:55 2015 +0200
+++ b/src/menu_tree.asm	Thu Aug 27 17:05:13 2015 +0200
@@ -378,6 +378,11 @@
         MENU_CALL   tExit,          do_return_settings
     MENU_END
 
+do_settings_menu_more_piezo_exit:
+	call	TFT_ClearScreen
+    extern  piezo_config
+    call    piezo_config                ; Configure buttons
+
 do_settings_menu_more_piezo:
     MENU_BEGIN  tSystSets, .7
         MENU_CALL   tCompassMenu,   do_compass_menu
@@ -397,7 +402,7 @@
         MENU_CALL   tResetMenu,     do_reset_menu
         MENU_OPTION tButtonleft,ocR_button_left  ,0  ; left button sensitivity
         MENU_OPTION tButtonright,ocR_button_right,0  ; right button sensitivity
-        MENU_CALL   tExit,          do_settings_menu_more_piezo
+        MENU_CALL   tExit,          do_settings_menu_more_piezo_exit
     MENU_END
 
 do_settings_menu_more_ostc3p:  ; Menu with BLE feature