comparison 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
comparison
equal deleted inserted replaced
374:67c258bd34e3 375:a9e35c1327aa
376 MENU_OPTION tDvSalinity,oDiveSalinity, 0 376 MENU_OPTION tDvSalinity,oDiveSalinity, 0
377 MENU_CALL tResetMenu, do_reset_menu 377 MENU_CALL tResetMenu, do_reset_menu
378 MENU_CALL tExit, do_return_settings 378 MENU_CALL tExit, do_return_settings
379 MENU_END 379 MENU_END
380 380
381 do_settings_menu_more_piezo_exit:
382 call TFT_ClearScreen
383 extern piezo_config
384 call piezo_config ; Configure buttons
385
381 do_settings_menu_more_piezo: 386 do_settings_menu_more_piezo:
382 MENU_BEGIN tSystSets, .7 387 MENU_BEGIN tSystSets, .7
383 MENU_CALL tCompassMenu, do_compass_menu 388 MENU_CALL tCompassMenu, do_compass_menu
384 MENU_CALL tLogOffset, do_log_offset_menu 389 MENU_CALL tLogOffset, do_log_offset_menu
385 MENU_OPTION tUnits, oUnits, 0 390 MENU_OPTION tUnits, oUnits, 0
395 ; Menu with features only available in piezo button hardware 400 ; Menu with features only available in piezo button hardware
396 MENU_BEGIN tSystSets, .4 401 MENU_BEGIN tSystSets, .4
397 MENU_CALL tResetMenu, do_reset_menu 402 MENU_CALL tResetMenu, do_reset_menu
398 MENU_OPTION tButtonleft,ocR_button_left ,0 ; left button sensitivity 403 MENU_OPTION tButtonleft,ocR_button_left ,0 ; left button sensitivity
399 MENU_OPTION tButtonright,ocR_button_right,0 ; right button sensitivity 404 MENU_OPTION tButtonright,ocR_button_right,0 ; right button sensitivity
400 MENU_CALL tExit, do_settings_menu_more_piezo 405 MENU_CALL tExit, do_settings_menu_more_piezo_exit
401 MENU_END 406 MENU_END
402 407
403 do_settings_menu_more_ostc3p: ; Menu with BLE feature 408 do_settings_menu_more_ostc3p: ; Menu with BLE feature
404 MENU_BEGIN tSystSets, .7 409 MENU_BEGIN tSystSets, .7
405 MENU_CALL tCompassMenu, do_compass_menu 410 MENU_CALL tCompassMenu, do_compass_menu