Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit d518be6

Browse files
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 #30
1 parent 2663be1 commit d518be6

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

‎libraries/SoftwareSerial/src/SoftwareSerial.h‎

Lines changed: 0 additions & 9 deletions
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)

AltStyle によって変換されたページ (->オリジナル) /