Checking for unnecessary added libraries.
Dependencies: battery-charger-bq24295 gnss ublox-cellular-base ublox-cellular-driver-gen
Fork of example-C030-out-of-box-demo by
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
