Mercurial > public > hwos_code
diff src/menu_tree.asm @ 104:223579e905c3
Show a Safety Stop if enabled (Menu "Deco Parameters")
author | heinrichsweikamp |
---|---|
date | Tue, 03 Jun 2014 12:25:47 +0200 |
parents | 3274e87fd027 |
children | f3062a611eef |
line wrap: on
line diff
--- a/src/menu_tree.asm Mon Jun 02 12:54:12 2014 +0200 +++ b/src/menu_tree.asm Tue Jun 03 12:25:47 2014 +0200 @@ -219,13 +219,20 @@ MENU_BEGIN tDiveModeMenu, .7 MENU_OPTION tDvMode, oDiveMode, 0 MENU_OPTION tDkMode, oDecoMode, 0 - MENU_DYNAMIC divesets_ppo2_max, do_toggle_ppo2_max - MENU_DYNAMIC divesets_ppo2_min, do_toggle_ppo2_min + MENU_CALL tppO2settings, do_ppo2_menu + MENU_OPTION tsafetystopmenu,oSafetyStop, 0 MENU_OPTION tFTTSMenu, oExtraTime,0 MENU_CALL tDecoparameters, do_decoparameters_menu MENU_CALL tExit, do_continue_main_menu MENU_END +do_ppo2_menu: + MENU_BEGIN tppO2settings, .3 + MENU_DYNAMIC divesets_ppo2_max, do_toggle_ppo2_max + MENU_DYNAMIC divesets_ppo2_min, do_toggle_ppo2_min + MENU_CALL tExit, do_return_divemode_menu + MENU_END + do_return_decoparameters_menu: call menu_processor_pop ; drop exit line. call menu_processor_pop ; back to setting