aboutsummaryrefslogtreecommitdiff
path: root/stm/storage.c
diff options
context:
space:
mode:
authorDamien2013-12-20 11:45:06 +0000
committerDamien2013-12-20 11:45:06 +0000
commitb73085d288ddb29ce23eb297ca2a3742d8aeada8 (patch)
treea6287e30537835eeb1c8218e97bee804dd47b120 /stm/storage.c
parenta3dcd9e80ce8bf7abae3daa8da82f1b085499989 (diff)
stm: add pyb.sd_test; flash cache flushed only via MSD.
Diffstat (limited to 'stm/storage.c')
-rw-r--r--stm/storage.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/stm/storage.c b/stm/storage.c
index 576c83a56..ac0458d13 100644
--- a/stm/storage.c
+++ b/stm/storage.c
@@ -152,7 +152,6 @@ 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 {