use TCP to connect to mbed connector
Fork of mbedConnectorInterfaceWithDM by
Diff: source/TickerResourceObserver.cpp
- Revision:
- 34:a10d65907549
- Parent:
- 33:1d0b855df5a5
- Child:
- 35:782c99a7a290
--- a/source/TickerResourceObserver.cpp Tue Jun 14 19:29:30 2016 +0000 +++ b/source/TickerResourceObserver.cpp Tue Jun 14 19:42:15 2016 +0000 @@ -22,6 +22,8 @@ // Class support #include "mbed-connector-interface/TickerResourceObserver.h" + + #ifdef CONNECTOR_USING_TICKER // constructor TickerResourceObserver::TickerResourceObserver(DynamicResource *resource,int sleep_time) : @@ -54,4 +56,6 @@ // begin observing... void TickerResourceObserver::stopObservation() { this->setObserving(false); - } \ No newline at end of file + } + + #ifdef CONNECTOR_USING_TICKER \ No newline at end of file