We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b9861d9 commit 76b10f4Copy full SHA for 76b10f4
cores/esp32/HardwareSerial.cpp
@@ -57,7 +57,7 @@ void serialEventRun(void)
57
if(USBSerial.available()) USBSerialEvent();
58
#endif
59
// UART0 is default serialEvent()
60
- if(Serial0.available()) serialEvent();
+ if(Serial.available()) serialEvent();
61
#if SOC_UART_NUM > 1
62
if(Serial1.available()) serialEvent1();
63
0 commit comments