You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2019/04/03 07:47:41 UTC

[GitHub] [mynewt-core] kasjer commented on issue #1731: spiflash: Add simple cache

kasjer commented on issue #1731: spiflash: Add simple cache
URL: https://github.com/apache/mynewt-core/pull/1731#issuecomment-479378392
 
 
   When I wrote this I was not sure what will be gained so I did not bother to make it work for all cases.
   All writes and erases invalidate the cache, two one-liners to make sure data is consistent.
   I tried to leave original code as it was when cache is not enabled so nothing is broken.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services