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 5:fdfb7a10cc59, committed 2017-09-28
- Comitter:
- ccli8
- Date:
- Thu Sep 28 16:24:04 2017 +0800
- Parent:
- 4:da41f0e17d5a
- Child:
- 6:de274e3aed9d
- Commit message:
- Reduce memory footprint with RTC wake-up
Changed in this revision
| wakeup_rtc.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/wakeup_rtc.cpp Wed Sep 20 14:26:46 2017 +0800
+++ b/wakeup_rtc.cpp Thu Sep 28 16:24:04 2017 +0800
@@ -35,7 +35,7 @@
void config_rtc_wakeup(void)
{
- static Thread thread_rtc;
+ static Thread thread_rtc(osPriorityNormal, 2048);
Callback<void()> callback(&rtc_loop);
thread_rtc.start(callback);