From 65888e2006ad5aac6d613550aecea9956562eb59 Mon Sep 17 00:00:00 2001 From: Damien George Date: Tue, 24 Nov 2015 16:57:13 +0000 Subject: [PATCH] stmhal: Process storage idle tick handler in different slot to DMA. --- stmhal/storage.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stmhal/storage.h b/stmhal/storage.h index a2c56b7654..4ff7abbe1c 100644 --- a/stmhal/storage.h +++ b/stmhal/storage.h @@ -27,7 +27,7 @@ #define FLASH_BLOCK_SIZE (512) #define STORAGE_SYSTICK_MASK (0x1ff) // 512ms -#define STORAGE_IDLE_TICK(tick) (((tick) & STORAGE_SYSTICK_MASK) == 0) +#define STORAGE_IDLE_TICK(tick) (((tick) & STORAGE_SYSTICK_MASK) == 2) void storage_init(void); uint32_t storage_get_block_size(void);