From c6564deef9e0147663d753a932192f8a3841f92a Mon Sep 17 00:00:00 2001 From: Willy-JL <49810075+Willy-JL@users.noreply.github.com> Date: Wed, 26 Jul 2023 14:55:20 +0200 Subject: [PATCH] Why was this a thing? --- .../system/updater/util/update_task_worker_flasher.c | 10 +++++----- lib/lfs_config.h | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/applications/system/updater/util/update_task_worker_flasher.c b/applications/system/updater/util/update_task_worker_flasher.c index d6dc13e37..7d6e8f57e 100644 --- a/applications/system/updater/util/update_task_worker_flasher.c +++ b/applications/system/updater/util/update_task_worker_flasher.c @@ -344,11 +344,11 @@ 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(FuriHalRtcFlagFactoryReset); -#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); + // #endif update_task_set_progress(update_task, UpdateTaskStageCompleted, 100); success = true; } while(false); diff --git a/lib/lfs_config.h b/lib/lfs_config.h index ff8bc4b23..40e79a81a 100644 --- a/lib/lfs_config.h +++ b/lib/lfs_config.h @@ -2,12 +2,12 @@ #include -#ifdef FURI_NDEBUG -#define LFS_NO_ASSERT -#define LFS_ASSERT(x) -#else +// #ifdef FURI_NDEBUG +// #define LFS_NO_ASSERT +// #define LFS_ASSERT(x) +// #else #define LFS_ASSERT furi_assert -#endif +// #endif #define LFS_TAG "Lfs"