diff src/menu_tree.asm @ 18:4e3f133dfbf4

add new opt_compass_gain option to work with more magnetic battery types
author heinrichsweikamp
date Wed, 03 Jul 2013 11:37:47 +0200
parents 11d4fc797f74
children e402813343b6
line wrap: on
line diff
--- a/src/menu_tree.asm	Mon Jun 24 12:25:01 2013 +0200
+++ b/src/menu_tree.asm	Wed Jul 03 11:37:47 2013 +0200
@@ -259,11 +259,18 @@
         MENU_CALL   tSetTimeDate,   do_date_time_menu
         MENU_CALL   tDispSets,      do_dispsets_menu
         MENU_OPTION tLanguage,      oLanguage,       0
-        MENU_CALL   tCompassMenu,   compass_calibration_loop
+        MENU_CALL   tCompassMenu,   do_compass_menu
         MENU_CALL   tResetMenu,     do_reset_menu
         MENU_CALL   tExit,          do_continue_main_menu
     MENU_END
 
+do_compass_menu:
+    MENU_BEGIN  tSystSets, .3
+        MENU_CALL   tCompassMenu,   compass_calibration_loop
+        MENU_OPTION tCompassGain,   oCompassGain,       0
+        MENU_CALL   tExit,          do_return_settings
+    MENU_END
+
 ;=============================================================================
 ; Reset and confirmation menu.