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.
Revision 2:14c5db5e54df, committed 2011-02-20
- Comitter:
- stonie
- Date:
- Sun Feb 20 11:16:27 2011 +0000
- Parent:
- 1:aa6409c599cb
- Commit message:
- minor fixes
Changed in this revision
| flash25spi.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/flash25spi.cpp Sun Feb 20 09:24:11 2011 +0000
+++ b/flash25spi.cpp Sun Feb 20 11:16:27 2011 +0000
@@ -146,7 +146,7 @@
bool flash25spi::write(unsigned int startAdr, unsigned int len, const char* data) {
if (startAdr+len>_size)
- return -1;
+ return false;
unsigned int ofs=0;
while (ofs<len) {