comparison src/menu_tree.asm @ 76:a5ea132770db

1.21 release
author heinrichsweikamp
date Wed, 19 Feb 2014 14:46:26 +0100
parents 00636132cca6
children 668b432dcae9
comparison
equal deleted inserted replaced
75:b808fa26a9a1 76:a5ea132770db
343 goto do_return_settings ; back to menu 343 goto do_return_settings ; back to menu
344 344
345 do_reset_settings: 345 do_reset_settings:
346 extern option_reset_all 346 extern option_reset_all
347 call option_reset_all ; Reset all options to factory default. 347 call option_reset_all ; Reset all options to factory default.
348 goto do_continue_main_menu ; back to menu 348 goto restart ; Restart into surfacemode
349 349
350 do_continue_menu_3stack: ; Return three levels deep 350 do_continue_menu_3stack: ; Return three levels deep
351 call menu_processor_pop 351 call menu_processor_pop
352 goto do_return_settings 352 goto do_return_settings
353 353
514 movff EEDATA,battery_gauge+3 514 movff EEDATA,battery_gauge+3
515 read_int_eeprom 0x0B 515 read_int_eeprom 0x0B
516 movff EEDATA,battery_gauge+4 516 movff EEDATA,battery_gauge+4
517 read_int_eeprom 0x0C 517 read_int_eeprom 0x0C
518 movff EEDATA,battery_gauge+5 518 movff EEDATA,battery_gauge+5
519
520 call menu_processor_reset ; restart from first icon.
519 521
520 MENU_BEGIN tNewBattTitle, .3 522 MENU_BEGIN tNewBattTitle, .3
521 MENU_CALL tNewBattOld, use_old_batteries 523 MENU_CALL tNewBattOld, use_old_batteries
522 MENU_CALL tNewBattNew36, use_new_36V_batteries 524 MENU_CALL tNewBattNew36, use_new_36V_batteries
523 MENU_CALL tNewBattNew15, use_new_15V_batteries 525 MENU_CALL tNewBattNew15, use_new_15V_batteries