Skip to content

Commit 2f7e712

Browse files
committed
Merge pull request #1968 from matthijskooijman/ide-1.5.x-hwserial-typo
Fix typo in SerialEvent3 handling
2 parents ff85589 + c734246 commit 2f7e712

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hardware/arduino/avr/cores/arduino/HardwareSerial.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ void serialEventRun(void)
7272
if (Serial2_available && serialEvent2 && Serial2_available()) serialEvent2();
7373
#endif
7474
#if defined(HAVE_HWSERIAL3)
75-
if (Serial3_available && serialEvent2 && Serial3_available()) serialEvent3();
75+
if (Serial3_available && serialEvent3 && Serial3_available()) serialEvent3();
7676
#endif
7777
}
7878

0 commit comments

Comments
 (0)