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

Appearance settings

Commit 4649270

Browse filesBrowse files
committed
fix(uart): Fix macro guard
1 parent 38668e9 commit 4649270
Copy full SHA for 4649270

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎cores/esp32/HardwareSerial.cpp

Copy file name to clipboardExpand all lines: cores/esp32/HardwareSerial.cpp
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,12 +81,12 @@ void serialEventRun(void) {
8181
if (serialEvent && Serial0.available()) {
8282
serialEvent();
8383
}
84-
#if SOC_UART_NUM > 1
84+
#if SOC_UART_HP_NUM > 1
8585
if (serialEvent1 && Serial1.available()) {
8686
serialEvent1();
8787
}
8888
#endif
89-
#if SOC_UART_NUM > 2
89+
#if SOC_UART_HP_NUM > 2
9090
if (serialEvent2 && Serial2.available()) {
9191
serialEvent2();
9292
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.