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 8665c03 commit f7f584bCopy full SHA for f7f584b
cores/arduino/HardwareSerial.cpp
@@ -120,6 +120,7 @@ void HardwareSerial::_tx_complete_irq(void)
120
if (_isrTx) {
121
_isrTx();
122
}
123
+
124
125
126
// Public Methods //////////////////////////////////////////////////////////////
cores/arduino/HardwareSerial2.cpp
@@ -37,22 +37,13 @@
37
38
#if defined(HAVE_HWSERIAL2)
39
40
-// xxx
41
-extern int count;
42
-
43
ISR(USART2_RX_vect)
44
{
45
Serial2._rx_complete_irq();
46
47
48
ISR(USART2_UDRE_vect)
49
50
- // xxx
51
- Serial.println(++count);
52
- digitalWrite(LED_BUILTIN, HIGH);
53
- delayMicroseconds(50);
54
- digitalWrite(LED_BUILTIN, LOW);
55
56
Serial2._tx_udr_empty_irq();
57
58
0 commit comments