From 03b56f16c44a2665aa8e9a03bd5b652e5e70d7f7 Mon Sep 17 00:00:00 2001 From: hathach Date: Fri, 19 Oct 2018 14:59:33 +0700 Subject: [PATCH] comment out flush in _iflash_erase (may enable later if having cache issue) --- libraries/FileSystem/src/InternalFS.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/FileSystem/src/InternalFS.cpp b/libraries/FileSystem/src/InternalFS.cpp index c0bc3d9a..e69e2bd6 100644 --- a/libraries/FileSystem/src/InternalFS.cpp +++ b/libraries/FileSystem/src/InternalFS.cpp @@ -153,7 +153,7 @@ static int _iflash_erase (const struct lfs_config *c, lfs_block_t block) flash_nrf52_write8(addr + i, 0xFF); } - //flash_nrf52_flush(); + // flash_nrf52_flush(); return 0; }