Official reference client implementation for Cumulocity SmartREST on u-blox C027.

Dependencies:   C027_Support C12832 LM75B MMA7660 MbedSmartRest mbed-rtos mbed

Fork of MbedSmartRestMain by Vincent Wochnik

Files at this revision

API Documentation at this revision

Comitter:
vwochnik
Date:
Tue Feb 18 15:37:50 2014 +0000
Parent:
15:0ccf0f530a05
Child:
17:877a9a3148a4
Commit message:
fix

Changed in this revision

program.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/program.cpp	Tue Feb 18 15:36:12 2014 +0000
+++ b/program.cpp	Tue Feb 18 15:37:50 2014 +0000
@@ -85,7 +85,9 @@
         loop(deviceId);
 
         // block remaining number of seconds
-        while (timer.read() < interval);
+        while (timer.read() < interval) {
+            Thread::yield();
+        }
     }
 }