We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 85032b2 commit f12df4cCopy full SHA for f12df4c
cores/esp32/esp32-hal-rmt.c
@@ -46,8 +46,8 @@
46
#define _INT_THR_EVNT(channel) ((__INT_THR_EVNT)<<(channel))
47
48
#if CONFIG_DISABLE_HAL_LOCKS
49
-# define UART_MUTEX_LOCK(channel)
50
-# define UART_MUTEX_UNLOCK(channel)
+# define RMT_MUTEX_LOCK(channel)
+# define RMT_MUTEX_UNLOCK(channel)
51
#else
52
# define RMT_MUTEX_LOCK(channel) do {} while (xSemaphoreTake(g_rmt_objlocks[channel], portMAX_DELAY) != pdPASS)
53
# define RMT_MUTEX_UNLOCK(channel) xSemaphoreGive(g_rmt_objlocks[channel])
0 commit comments