Commit 65888e20 authored by Damien George's avatar Damien George
Browse files

stmhal: Process storage idle tick handler in different slot to DMA.

parent 36bd1077
......@@ -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);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment