Skip to content

Commit 39a2080

Browse files
authored
Fixes onReceive deadlock (espressif#6201)
1 parent 9555ed4 commit 39a2080

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

cores/esp32/esp32-hal-uart.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,7 @@ static void uart_event_task(void *args)
106106
switch(event.type) {
107107
//Event of UART receving data
108108
case UART_DATA:
109-
UART_MUTEX_LOCK();
110109
if(uart->onReceive) uart->onReceive();
111-
UART_MUTEX_UNLOCK();
112110
break;
113111
//Event of HW FIFO overflow detected
114112
case UART_FIFO_OVF:

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