some code cleanup

by Willy-JL
This commit is contained in:
MX
2025-04-06 03:00:37 +03:00
parent a57f9e22b5
commit 1385ea0ea0
9 changed files with 16 additions and 136 deletions

View File

@@ -51,7 +51,8 @@
// Changing furi_assert() to furi_check() brought timeout crashes
// Internal storage is very slow, and "big" files will often cause a "timeout" with 3 seconds
// 10 seconds seems fine, the file operations complete successfully, albeit slowly
#define FURI_HAL_FLASH_C2_LOCK_TIMEOUT_MS (10000U) /* 10 seconds */
//#define FURI_HAL_FLASH_C2_LOCK_TIMEOUT_MS (10000U) /* 10 seconds */
#define FURI_HAL_FLASH_C2_LOCK_TIMEOUT_MS (3000U) /* 3 seconds */
#define IS_ADDR_ALIGNED_64BITS(__VALUE__) (((__VALUE__) & 0x7U) == (0x00UL))
#define IS_FLASH_PROGRAM_ADDRESS(__VALUE__) \