endpoint C207 radio support
Dependents: mbed_mqtt_endpoint_ublox_cellular mbed_nsp_endpoint_ublox_cellular
Diff: MBEDUbloxGPS.cpp
- Revision:
- 19:0fcc7e5ff8a6
- Parent:
- 17:c48b03c386fb
- Child:
- 22:dca1bfab3021
diff -r 2d9bb520794c -r 0fcc7e5ff8a6 MBEDUbloxGPS.cpp --- a/MBEDUbloxGPS.cpp Tue Jul 01 19:28:11 2014 +0000 +++ b/MBEDUbloxGPS.cpp Tue Jul 01 20:13:19 2014 +0000 @@ -26,7 +26,8 @@ MBEDUbloxGPS *_ublox_gps_instance = NULL; bool _ublox_gps_loop = true; - /* threaded task + #ifdef ENABLE_THREADS + // threaded task static void read_gps(void const *args) { while (_ublox_gps_loop == true && _ublox_gps_instance != NULL) { _ublox_gps_instance->update(); @@ -34,7 +35,7 @@ } if (_ublox_gps_instance != NULL) _ublox_gps_instance->logger()->log("GPS update thread stopping..."); } - */ + #endif // default constructor MBEDUbloxGPS::MBEDUbloxGPS(ErrorHandler *error_handler, void *endpoint,void *gps) : BaseClass(error_handler,endpoint) {