diff options
Diffstat (limited to 'stm/storage.c')
-rw-r--r-- | stm/storage.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/stm/storage.c b/stm/storage.c index ac0458d136..576c83a560 100644 --- a/stm/storage.c +++ b/stm/storage.c @@ -152,6 +152,7 @@ bool storage_write_block(const uint8_t *src, uint32_t block) { uint8_t *dest = cache_get_addr_for_write(flash_addr); memcpy(dest, src, BLOCK_SIZE); sys_tick_counter_last_write = sys_tick_counter; + cache_flush(); // XXX hack for now so that the cache is always flushed return true; } else { |