From d518be6797790a6055deeb1a00f4a7c20773b970 Mon Sep 17 00:00:00 2001 From: Florian Schweiger Date: Mon, 26 Nov 2018 09:12:24 +0000 Subject: 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 --- libraries/SoftwareSerial/src/SoftwareSerial.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'libraries/SoftwareSerial') 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 -- cgit v1.2.3-18-g5258