aboutsummaryrefslogtreecommitdiff
path: root/libraries/SoftwareSerial/src
diff options
context:
space:
mode:
authorFlorian Schweiger <florian.schweiger@bbc.co.uk>2018-11-26 09:12:24 +0000
committerGitHub <noreply@github.com>2018-11-26 09:12:24 +0000
commitd518be6797790a6055deeb1a00f4a7c20773b970 (patch)
tree99225dd423de6d76cff76c8e9ce02278cad213ca /libraries/SoftwareSerial/src
parent2663be17272e19f00c55f3f2d8f1ebfac47158d6 (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/SoftwareSerial/src')
-rw-r--r--libraries/SoftwareSerial/src/SoftwareSerial.h9
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