We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 222d51e commit 24c8bf8Copy full SHA for 24c8bf8
hardware/arduino/cores/arduino/HardwareSerial.h
@@ -81,6 +81,15 @@ class HardwareSerial : public Stream
81
extern HardwareSerial Serial3;
82
#endif
83
84
+/*
85
+ * on ATmega8, the uart and its bits are not numbered, so there is no "TXC0"
86
+ * definition. It is slightly cleaner to define this here instead of having
87
+ * conditional code in the cpp module.
88
+ */
89
+#if !defined(TXC0)
90
+#define TXC0 TXC
91
+#endif
92
+
93
extern void serialEventRun(void) __attribute__((weak));
94
95
0 commit comments