mbed Connector Interface simplification API on top of mbed-client
Fork of mbedConnectorInterfaceV3 by
NOTE:
This repo has been replaced with https://github.com/ARMmbed/mbedConnectorInterface. No further updates will occur with this repo. Please use the github repo instead. Thanks!
Diff: mbed-connector-interface/Location.h
- Revision:
- 33:1d0b855df5a5
- Parent:
- 0:1f1f55e73248
- Child:
- 51:91fc5f5880fe
--- a/mbed-connector-interface/Location.h Tue Jun 14 19:04:08 2016 +0000 +++ b/mbed-connector-interface/Location.h Tue Jun 14 19:29:30 2016 +0000 @@ -23,8 +23,17 @@ #ifndef __LOCATION_H__ #define __LOCATION_H__ -// mbed API -#include "mbed.h" +// mbedConnectorInterface configuration +#include "mbed-connector-interface/mbedConnectorInterface.h" + +// mbed support +#if defined(MCI_USE_YOTTA) + // mbed support + #include "mbed-drivers/mbed.h" +#else + // mbed support + #include "mbed.h" +#endif // Max length of a coordinate: -XXX.YYYYYY #define LOCATION_COORDINATE_LENGTH 12