diff src/menu_tree.asm @ 298:2fe34fc0e2ae

new submenu for gas consumption, show actual mix instead of GAS1-GAS5 in deco planner
author heinrichsweikamp
date Sun, 31 May 2015 16:19:56 +0200
parents 653a3ab08062
children 9b1b0b32e7d5
line wrap: on
line diff
--- a/src/menu_tree.asm	Sun May 31 10:42:47 2015 +0200
+++ b/src/menu_tree.asm	Sun May 31 16:19:56 2015 +0200
@@ -259,15 +259,24 @@
 
 do_planner_menu:
     extern  do_demo_planner
-    MENU_BEGIN  tPlan, .6
+    MENU_BEGIN  tPlan, .7
 		MENU_CALL       tInter,                 do_demo_divemode
         MENU_OPTION     tIntvl, odiveInterval,  0
         MENU_OPTION     tBtTm,  obottomTime,    0
         MENU_OPTION     tMxDep, obottomDepth,   0
         MENU_CALL       tDeco,                  do_demo_planner
+        MENU_CALL       tSystSets,              do_planner_config
         MENU_CALL       tExit,                  do_continue_main_menu
     MENU_END
 
+do_planner_config:
+    MENU_BEGIN  tPlan, .3
+        MENU_OPTION     tSetBotUse, obottom_usage,  0
+        MENU_OPTION     tSetDecoUse,  odeco_usage,  0
+        MENU_CALL       tExit,                      do_planner_menu
+    MENU_END
+
+
 ;=============================================================================
 ; Divemode menu