We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b4f74b commit 38668e9Copy full SHA for 38668e9
cores/esp32/HardwareSerial.cpp
@@ -27,11 +27,11 @@ void serialEvent(void) __attribute__((weak));
27
28
#if SOC_UART_HP_NUM > 1
29
void serialEvent1(void) __attribute__((weak));
30
-#endif /* SOC_UART_NUM > 1 */
+#endif /* SOC_UART_HP_NUM > 1 */
31
32
#if SOC_UART_HP_NUM > 2
33
void serialEvent2(void) __attribute__((weak));
34
-#endif /* SOC_UART_NUM > 2 */
+#endif /* SOC_UART_HP_NUM > 2 */
35
36
#if SOC_UART_HP_NUM > 3
37
void serialEvent3(void) __attribute__((weak));
0 commit comments