diff options
author | Florian Schweiger <florian.schweiger@bbc.co.uk> | 2018-11-26 09:12:24 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-26 09:12:24 +0000 |
commit | d518be6797790a6055deeb1a00f4a7c20773b970 (patch) | |
tree | 99225dd423de6d76cff76c8e9ce02278cad213ca /libraries | |
parent | 2663be17272e19f00c55f3f2d8f1ebfac47158d6 (diff) |
Removed historic Arduino-0012 workaround
Removed #undefs in SoftwareSerial.h that were marked as Arduino 0012 workaround and that broke several macros, including abs.
See https://github.com/arduino/ArduinoCore-avr/issues/30
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/SoftwareSerial/src/SoftwareSerial.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/libraries/SoftwareSerial/src/SoftwareSerial.h b/libraries/SoftwareSerial/src/SoftwareSerial.h index b1a37c4..d8b88ce 100644 --- a/libraries/SoftwareSerial/src/SoftwareSerial.h +++ b/libraries/SoftwareSerial/src/SoftwareSerial.h @@ -111,13 +111,4 @@ public: static inline void handle_interrupt() __attribute__((__always_inline__));
};
-// Arduino 0012 workaround
-#undef int
-#undef char
-#undef long
-#undef byte
-#undef float
-#undef abs
-#undef round
-
#endif
|