diff --git a/applications/system/updater/util/update_task_worker_flasher.c b/applications/system/updater/util/update_task_worker_flasher.c index 05319ca18..48cde2733 100644 --- a/applications/system/updater/util/update_task_worker_flasher.c +++ b/applications/system/updater/util/update_task_worker_flasher.c @@ -344,11 +344,13 @@ int32_t update_task_worker_flash_writer(void* context) { furi_hal_rtc_set_boot_mode(FuriHalRtcBootModePostUpdate); // Format LFS before restoring backup on next boot furi_hal_rtc_set_flag(FuriHalRtcFlagStorageFormatInternal); - // #ifdef FURI_NDEBUG - // // Production - // furi_hal_rtc_set_log_level(FuriLogLevelDefault); - // furi_hal_rtc_reset_flag(FuriHalRtcFlagDebug); - // #endif +#ifdef FURI_NDEBUG + // Production + // furi_hal_rtc_set_log_level(FuriLogLevelDefault); + furi_hal_rtc_reset_flag(FuriHalRtcFlagDebug); + furi_hal_rtc_set_heap_track_mode(FuriHalRtcHeapTrackModeNone); + furi_hal_rtc_reset_flag(FuriHalRtcFlagLegacySleep); +#endif update_task_set_progress(update_task, UpdateTaskStageCompleted, 100); success = true; } while(false);