[FL-3704] Updater: reset various debug flags on production build flash (#3762)

This commit is contained in:
あく 2024-07-07 13:00:39 +01:00 committed by GitHub
parent d39c3b3776
commit aeabf0447d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -348,6 +348,8 @@ int32_t update_task_worker_flash_writer(void* context) {
// Production
furi_hal_rtc_set_log_level(FuriLogLevelDefault);
furi_hal_rtc_reset_flag(FuriHalRtcFlagDebug);
furi_hal_rtc_reset_flag(FuriHalRtcFlagLegacySleep);
furi_hal_rtc_set_heap_track_mode(FuriHalRtcHeapTrackModeNone);
#endif
update_task_set_progress(update_task, UpdateTaskStageCompleted, 100);
success = true;