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.
Dependencies: ublox-cellular-base ublox-cellular-driver-gen battery-charger-bq24295 gnss
Revision 6:4d61a0f32573, committed 2018-02-23
- Comitter:
- Mudassar Hussain
- Date:
- Fri Feb 23 18:28:32 2018 +0500
- Parent:
- 5:8f44dab9cb6b
- Commit message:
- Updated thread calling, old thread call is depreciated
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Fri Feb 23 18:26:53 2018 +0500
+++ b/main.cpp Fri Feb 23 18:28:32 2018 +0500
@@ -102,7 +102,8 @@
onboard_modem_power_up();
// Create threadUserButtonCheck thread
- Thread threadUserButtonCheck(threadBodyUserButtonCheck);
+ Thread user_button(osPriorityNormal);
+ user_button.start(callback(threadBodyUserButtonCheck, (void *)"User Button Thread"));
//Set GNSS IO On