mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-04-24 03:29:57 -07:00
Why was this a thing?
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
|
||||
#include <furi.h>
|
||||
|
||||
#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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user