Mercurial > public > hwos_code
diff src/menu_tree.asm @ 648:aeca5717d9eb
3.17 / 10.72 release
author | heinrichs weikamp |
---|---|
date | Fri, 04 Mar 2022 08:29:36 +0100 |
parents | 357341239438 |
children | ef2ed7e3a895 |
line wrap: on
line diff
--- a/src/menu_tree.asm Thu Oct 14 12:04:12 2021 +0200 +++ b/src/menu_tree.asm Fri Mar 04 08:29:36 2022 +0100 @@ -1313,15 +1313,18 @@ STRCAT_TEXT tHardware ; print text call I2C_init_compass ; start compass to get compass configuration movf HW_descriptor,W ; copy hardware descriptor to WREG - output_hex ; print as hex + output_hex ; print as hex movf HW_variants,W ; copy hardware variants to WREG - output_hex ; print as hex - PUTC "-" ; print a separator - movlw FW_CONF ; get firmware configuration - output_hex ; print as hex + output_hex ; print as hex + PUTC "-" ; print a separator + movlw FW_CONF ; get firmware configuration + output_hex ; print as hex call get_cpu_version ; get CPU version - output_hex ; print as hex - return ; done + output_hex ; print as hex + btfss less_io_cpu ; =1: OSTC has a CPU with less I/O pins + return ; Done. + PUTC "*" + return ; Less I/O CPU done. ;----------------------------------------------------------------------------- @@ -1858,13 +1861,14 @@ ; Settings Menu - 3rd Layer - System Settings - Reset Menus ; do_menu_reset: - MENU_BEGIN tResetMenu, .6 + MENU_BEGIN tResetMenu, .7 MENU_CALL tBack, do_return_menu_syssets_more MENU_CALL tReboot, do_menu_reset_reboot ; confirm MENU_CALL tResetDeco, do_menu_reset_deco ; confirm MENU_CALL tResetSettings, do_menu_reset_settings ; confirm MENU_CALL tResetLogbook, do_menu_reset_logbook ; confirm MENU_CALL tResetBattery, do_menu_reset_battery ; confirm + MENU_CALL tResetBLE2, do_menu_reset_ble2 ; Configure the new BLE module MENU_END @@ -2062,6 +2066,14 @@ MENU_CALL tAbort, do_return_menu_syssets_more_more MENU_CALL tYes, do_new_battery_select MENU_END + +;----------------------------------------------------------------------------- +; Settings Menu - 4th Layer - System Settings - Reset - Reset BLE2 +; +do_menu_reset_ble2: + call TFT_ClearScreen ; clear screen to show start of activity + call ble2_configure + goto surfloop ; restart into surface mode ;-----------------------------------------------------------------------------