Skip to content

Commit b2ea1ce

Browse files
authored
Update esp32-hal-uart.c
1 parent 3b07562 commit b2ea1ce

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

cores/esp32/esp32-hal-uart.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,7 @@ void uartGetEventQueue(uart_t* uart, QueueHandle_t *q)
9090
if(uart == NULL) {
9191
return;
9292
}
93-
// MUTEX will lock for the case that another task is executing begin() on the same UART and has not finished
94-
//UART_MUTEX_LOCK();
9593
*q = uart->uart_event_queue;
96-
//UART_MUTEX_UNLOCK();
9794
return;
9895
}
9996

0 commit comments

Comments
 (0)