mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-04-24 03:29:57 -07:00
Spring cleaning
This commit is contained in:
@@ -47,11 +47,7 @@
|
||||
> If for any reason this test is never passed, this means there is a failure in the system and there is no other
|
||||
> way to recover than applying a device reset.
|
||||
*/
|
||||
// Was previously 3000U, 3 seconds
|
||||
// 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 (3000U) /* 3 seconds */
|
||||
|
||||
#define IS_ADDR_ALIGNED_64BITS(__VALUE__) (((__VALUE__) & 0x7U) == (0x00UL))
|
||||
#define IS_FLASH_PROGRAM_ADDRESS(__VALUE__) \
|
||||
|
||||
Reference in New Issue
Block a user