ST / HiBrightLED

Dependents:   DISCO-F334C8_HiBrightLED_demo

Files at this revision

API Documentation at this revision

Comitter:
arostm
Date:
Thu Jun 08 14:26:33 2017 +0000
Parent:
0:c95c484b95a9
Commit message:
Remove if else for operator (=) definition

Changed in this revision

HiBrightLED.h Show annotated file Show diff for this revision Revisions of this file
--- a/HiBrightLED.h	Wed Jun 17 06:30:59 2015 +0000
+++ b/HiBrightLED.h	Thu Jun 08 14:26:33 2017 +0000
@@ -53,7 +53,6 @@
       */
     float read();
 
-#ifdef MBED_OPERATORS
     /** A operator shorthand for write()
      */
     HiBrightLED& operator= (float value) {
@@ -66,7 +65,6 @@
     operator float() {
         return read();
     }
-#endif
     
 private: