diff --git a/applications/system/updater/util/update_task_worker_backup.c b/applications/system/updater/util/update_task_worker_backup.c index 3e249bf9f..50d54cf14 100644 --- a/applications/system/updater/util/update_task_worker_backup.c +++ b/applications/system/updater/util/update_task_worker_backup.c @@ -5,7 +5,6 @@ #include #include #include -#include #include #include #include @@ -166,13 +165,6 @@ static bool update_task_post_update(UpdateTask* update_task) { CHECK_RESULT(lfs_backup_unpack(update_task->storage, furi_string_get_cstr(file_path))); -#ifdef FURI_NDEBUG - // Production - // Currently no expansion modules exist, disable listening on UART - storage_common_remove(update_task->storage, EXPANSION_SETTINGS_OLD_PATH); - storage_common_remove(update_task->storage, EXPANSION_SETTINGS_PATH); -#endif - if(update_task->state.groups & UpdateTaskStageGroupResources) { TarUnpackProgress progress = { .update_task = update_task, diff --git a/furi/flipper.c b/furi/flipper.c index e0119aa89..9bb9f7a72 100644 --- a/furi/flipper.c +++ b/furi/flipper.c @@ -66,8 +66,8 @@ void flipper_migrate_files() { storage_common_remove(storage, POWER_SETTINGS_OLD_PATH); storage_common_copy(storage, BT_KEYS_STORAGE_OLD_PATH, BT_KEYS_STORAGE_PATH); storage_common_remove(storage, BT_KEYS_STORAGE_OLD_PATH); - // storage_common_copy(storage, EXPANSION_SETTINGS_OLD_PATH, EXPANSION_SETTINGS_PATH); // Reset on install for now - // storage_common_remove(storage, EXPANSION_SETTINGS_OLD_PATH); + storage_common_copy(storage, EXPANSION_SETTINGS_OLD_PATH, EXPANSION_SETTINGS_PATH); + storage_common_remove(storage, EXPANSION_SETTINGS_OLD_PATH); // storage_common_copy(storage, NOTIFICATION_SETTINGS_OLD_PATH, NOTIFICATION_SETTINGS_PATH); // Not compatible anyway storage_common_remove(storage, NOTIFICATION_SETTINGS_OLD_PATH); // Ext -> Int