Skip to content

Commit

Permalink
hal: flash: added FLASH_OP_DEBUG to enable latency measurement
Browse files Browse the repository at this point in the history
  • Loading branch information
hedger committed May 20, 2024
1 parent 89294eb commit 8c6ec43
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions targets/f7/furi_hal/furi_hal_flash.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@

#define TAG "FuriHalFlash"

#ifdef FLASH_OP_DEBUG
#undef FURI_LOG_T
#define FURI_LOG_T(...)
#else
#endif

#define FURI_HAL_CRITICAL_MSG "Critical flash operation fail"
#define FURI_HAL_FLASH_READ_BLOCK (8U)
#define FURI_HAL_FLASH_WRITE_BLOCK (8U)
Expand Down

0 comments on commit 8c6ec43

Please sign in to comment.