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 39a2080

Browse filesBrowse files
authored
Fixes onReceive deadlock (espressif#6201)
1 parent 9555ed4 commit 39a2080
Copy full SHA for 39a2080

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+0
-2
lines changed

‎cores/esp32/esp32-hal-uart.c

Copy file name to clipboardExpand all lines: cores/esp32/esp32-hal-uart.c
-2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.