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 SWUpdate by
Revision 7:a7efbae7e02e, committed 2014-06-15
- Comitter:
- WiredHome
- Date:
- Sun Jun 15 00:46:34 2014 +0000
- Parent:
- 6:6025fddc1af9
- Child:
- 8:8e840a036116
- Commit message:
- Minor update to a debug diagnostic, and turned off debug.
Changed in this revision
| SWUpdate.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/SWUpdate.cpp Sat Jun 14 18:27:48 2014 +0000
+++ b/SWUpdate.cpp Sun Jun 15 00:46:34 2014 +0000
@@ -11,7 +11,7 @@
extern "C" void mbed_reset();
-#define DEBUG "SWup"
+//#define DEBUG "SWup"
#include <cstdio>
#if (defined(DEBUG) && !defined(TARGET_LPC11U24))
#define DBG(x, ...) std::printf("[DBG %s %3d] "x"\r\n", DEBUG, __LINE__, ##__VA_ARGS__);
@@ -126,7 +126,7 @@
WARN("Failed to download lastest firmware.");
}
} else {
- WARN("Only %d parameters found in online version file.", parseCount);
+ INFO("Online version is same as installed version.", parseCount);
}
}
} else {
