Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: DISCO-F334C8_HiBrightLED_demo
Revision 1:eb29c4c2a341, committed 2017-06-08
- 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: