Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of 25LCxxx_SPI by
Revision 3:314812139e9c, committed 2017-04-03
- Comitter:
- mandresc
- Date:
- Mon Apr 03 11:59:26 2017 +0000
- Parent:
- 2:3a3404dbd3eb
- Commit message:
- Bug - SPI access timing fixed
Changed in this revision
Ser25lcxxx.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/Ser25lcxxx.cpp Sat Feb 19 18:29:20 2011 +0000 +++ b/Ser25lcxxx.cpp Mon Apr 03 11:59:26 2017 +0000 @@ -73,6 +73,7 @@ } bool Ser25LCxxx::write(unsigned int startAdr, unsigned int len, const char* data) { + enableWrite(); if (startAdr+len>_size) return -1; @@ -89,6 +90,7 @@ // and switch to next page ofs+=pageLen; } + waitForWrite(); return true; }