comparison 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
comparison
equal deleted inserted replaced
103:047629595215 104:223579e905c3
217 217
218 do_divemode_menu: 218 do_divemode_menu:
219 MENU_BEGIN tDiveModeMenu, .7 219 MENU_BEGIN tDiveModeMenu, .7
220 MENU_OPTION tDvMode, oDiveMode, 0 220 MENU_OPTION tDvMode, oDiveMode, 0
221 MENU_OPTION tDkMode, oDecoMode, 0 221 MENU_OPTION tDkMode, oDecoMode, 0
222 MENU_DYNAMIC divesets_ppo2_max, do_toggle_ppo2_max 222 MENU_CALL tppO2settings, do_ppo2_menu
223 MENU_DYNAMIC divesets_ppo2_min, do_toggle_ppo2_min 223 MENU_OPTION tsafetystopmenu,oSafetyStop, 0
224 MENU_OPTION tFTTSMenu, oExtraTime,0 224 MENU_OPTION tFTTSMenu, oExtraTime,0
225 MENU_CALL tDecoparameters, do_decoparameters_menu 225 MENU_CALL tDecoparameters, do_decoparameters_menu
226 MENU_CALL tExit, do_continue_main_menu 226 MENU_CALL tExit, do_continue_main_menu
227 MENU_END
228
229 do_ppo2_menu:
230 MENU_BEGIN tppO2settings, .3
231 MENU_DYNAMIC divesets_ppo2_max, do_toggle_ppo2_max
232 MENU_DYNAMIC divesets_ppo2_min, do_toggle_ppo2_min
233 MENU_CALL tExit, do_return_divemode_menu
227 MENU_END 234 MENU_END
228 235
229 do_return_decoparameters_menu: 236 do_return_decoparameters_menu:
230 call menu_processor_pop ; drop exit line. 237 call menu_processor_pop ; drop exit line.
231 call menu_processor_pop ; back to setting 238 call menu_processor_pop ; back to setting