Skip to content

Commit f4f1c89

Browse files
SuGliderme-no-dev
andauthored
pinMatrixInDetach() has wrong parameter (#5385)
Fixes #5112 Call to pinMatrixInDetach() was changed from version 1.0.6 in version 2.0.0 injecting a bug as seen in cores/esp32/esp32-hal-uart.c 80418fa Co-authored-by: Me No Dev <me-no-dev@users.noreply.github.com>
1 parent cbcba53 commit f4f1c89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cores/esp32/esp32-hal-uart.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ static void uartDetachRx(uart_t* uart, uint8_t rxPin)
179179
if(uart == NULL) {
180180
return;
181181
}
182-
pinMatrixInDetach(rxPin, false, false);
182+
pinMatrixInDetach(UART_RXD_IDX(uart->num), false, false);
183183
uartDisableInterrupt(uart);
184184
}
185185

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy