diff --git a/openrtx/include/ui/ui_default.h b/openrtx/include/ui/ui_default.h index 7bc6b2ff..6c75a6d1 100644 --- a/openrtx/include/ui/ui_default.h +++ b/openrtx/include/ui/ui_default.h @@ -83,7 +83,6 @@ enum menuItems M_GPS, #endif M_SETTINGS, - M_BACKUP_RESTORE, M_INFO, M_ABOUT }; diff --git a/openrtx/src/core/threads.c b/openrtx/src/core/threads.c index 440d4ed3..f2ebd516 100644 --- a/openrtx/src/core/threads.c +++ b/openrtx/src/core/threads.c @@ -144,29 +144,6 @@ void *main_thread(void *arg) state.devStatus = SHUTDOWN; pthread_mutex_unlock(&state_mutex); - // Handle external flash backup/restore - #if !defined(PLATFORM_LINUX) && !defined(PLATFORM_MOD17) - if(state.backup_eflash) - { - eflash_dump(); - - pthread_mutex_lock(&state_mutex); - state.backup_eflash = false; - state.devStatus = SHUTDOWN; - pthread_mutex_unlock(&state_mutex); - } - - if(state.restore_eflash) - { - eflash_restore(); - - pthread_mutex_lock(&state_mutex); - state.restore_eflash = false; - state.devStatus = SHUTDOWN; - pthread_mutex_unlock(&state_mutex); - } - #endif - // Run GPS task #if defined(GPS_PRESENT) && !defined(MD3x0_ENABLE_DBG) gps_task(); diff --git a/openrtx/src/ui/default/ui.c b/openrtx/src/ui/default/ui.c index 604b4835..2fd1d307 100644 --- a/openrtx/src/ui/default/ui.c +++ b/openrtx/src/ui/default/ui.c @@ -130,7 +130,6 @@ const char *menu_items[] = "GPS", #endif "Settings", - "Backup & Restore", "Info", "About" }; @@ -1602,9 +1601,6 @@ void ui_updateFSM(bool *sync_rtx) case M_SETTINGS: state.ui_screen = MENU_SETTINGS; break; - case M_BACKUP_RESTORE: - state.ui_screen = MENU_BACKUP_RESTORE; - break; case M_INFO: state.ui_screen = MENU_INFO; break;