cc y / mbed

Fork of mbed by mbed official

Revision:
123:b0220dba8be7
Parent:
122:f9eeca106725
--- a/DigitalInOut.h	Thu Jul 07 14:34:11 2016 +0100
+++ b/DigitalInOut.h	Fri Aug 12 13:04:35 2016 +0200
@@ -109,7 +109,6 @@
         return gpio_is_connected(&gpio);
     }
 
-#ifdef MBED_OPERATORS
     /** A shorthand for write()
      */
     DigitalInOut& operator= (int value) {
@@ -131,7 +130,6 @@
         // Underlying call is thread safe
         return read();
     }
-#endif
 
 protected:
     gpio_t gpio;