SmartREST client reference implementation for the u-blox C027 mbed compatible device.
Dependencies: C027 C027_Support mbed mbed-rtos MbedSmartRest LM75B MMA7660 C12832
Fork of MbedSmartRestTest by
Diff: program.cpp
- Revision:
- 16:94d6eae3195a
- Parent:
- 15:0ccf0f530a05
- Child:
- 19:7bee744fe527
--- 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(); + } } }