mbed Connector Interface simplification API on top of mbed-client

Fork of mbedConnectorInterfaceV3 by Doug Anson

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!

Revision:
34:a10d65907549
Parent:
33:1d0b855df5a5
Child:
54:dfee8691c83a
--- a/mbed-connector-interface/TickerResourceObserver.h	Tue Jun 14 19:29:30 2016 +0000
+++ b/mbed-connector-interface/TickerResourceObserver.h	Tue Jun 14 19:42:15 2016 +0000
@@ -26,6 +26,8 @@
 // mbedConnectorInterface configuration
 #include "mbed-connector-interface/mbedConnectorInterface.h"
 
+#ifdef CONNECTOR_USING_TICKER
+
 // mbed support
 #if defined(MCI_USE_YOTTA)
     // mbed support
@@ -33,11 +35,6 @@
 #else
     // mbed support
     #include "mbed.h"
-    
-    // Thread support
-    #ifdef CONNECTOR_USING_THREADS
-        #include "rtos.h"
-    #endif
 #endif
 
 // Base class support
@@ -82,4 +79,6 @@
         Ticker m_ticker;
 };
 
+#endif // CONNECTOR_USING_TICKER
+
 #endif // __TICKER_RESOURCE_OBSERVER_H__
\ No newline at end of file