Skip to content

Commit e633331

Browse files
florian-schweigerHMLeao
authored andcommitted
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 arduino#30
1 parent 5755dde commit e633331

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

Diff for: libraries/SoftwareSerial/src/SoftwareSerial.h

-9
Original file line numberDiff line numberDiff line change
@@ -111,13 +111,4 @@ class SoftwareSerial : public Stream
111111
static inline void handle_interrupt() __attribute__((__always_inline__));
112112
};
113113

114-
// Arduino 0012 workaround
115-
#undef int
116-
#undef char
117-
#undef long
118-
#undef byte
119-
#undef float
120-
#undef abs
121-
#undef round
122-
123114
#endif

0 commit comments

Comments
 (0)