Skip to content

Commit 65888e2

Browse files
committed
stmhal: Process storage idle tick handler in different slot to DMA.
1 parent 36bd107 commit 65888e2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

stmhal/storage.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
#define FLASH_BLOCK_SIZE (512)
2828

2929
#define STORAGE_SYSTICK_MASK (0x1ff) // 512ms
30-
#define STORAGE_IDLE_TICK(tick) (((tick) & STORAGE_SYSTICK_MASK) == 0)
30+
#define STORAGE_IDLE_TICK(tick) (((tick) & STORAGE_SYSTICK_MASK) == 2)
3131

3232
void storage_init(void);
3333
uint32_t storage_get_block_size(void);

0 commit comments

Comments
 (0)