x

Dependencies:   gnss sd-driver battery-charger-bq24295

Revision:
6:4d61a0f32573
Parent:
5:8f44dab9cb6b
Child:
7:8ba0130944d6
--- 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