ads1115 only

Fork of mbed by mbed official

Revision:
123:b0220dba8be7
Parent:
122:f9eeca106725
--- a/BusIn.h	Thu Jul 07 14:34:11 2016 +0100
+++ b/BusIn.h	Fri Aug 12 13:04:35 2016 +0200
@@ -18,6 +18,7 @@
 
 #include "platform.h"
 #include "DigitalIn.h"
+#include "PlatformMutex.h"
 
 namespace mbed {
 
@@ -71,7 +72,6 @@
         return _nc_mask;
     }
 
-#ifdef MBED_OPERATORS
     /** A shorthand for read()
      */
     operator int();
@@ -79,7 +79,6 @@
     /** Access to particular bit in random-iterator fashion
      */
     DigitalIn & operator[] (int index);
-#endif
 
 protected:
     DigitalIn* _pin[16];