add cache flush after array write

This commit is contained in:
bunnie 2021-07-18 16:04:44 +08:00
parent 825322c730
commit 7257dbcaef

View file

@ -381,6 +381,7 @@ mod implementation {
// in other words: if the flash memory is broke, you're broke too, ain't nobody got time for that.
}
self.ticktimer.ping_wdt();
xous::arch::cache_flush(); // flush the CPU caches in case the SPINOR call modified memory that's cached
SPINOR_RESULT.load(Ordering::Relaxed)
}