summaryrefslogtreecommitdiff
path: root/src/osal
diff options
context:
space:
mode:
authorReinhard Panhuber <[email protected]>2021-04-20 20:15:54 +0200
committerReinhard Panhuber <[email protected]>2021-04-20 20:15:54 +0200
commit705753f448f5cf3b24a6fa49ec02fe1ab0b400aa (patch)
tree49533426ece7ecec32793b48f4e0103c621b07df /src/osal
parentc7c11b181c05136a1c077dc445f422c7e17edc02 (diff)
parentc5f440a6aa39a09487000e7ce408d252dc7641f0 (diff)
Merge remote-tracking branch 'upstream/master' into uac2_fix_cs_as_int_alt_set_0
Diffstat (limited to 'src/osal')
-rw-r--r--src/osal/osal_freertos.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/osal/osal_freertos.h b/src/osal/osal_freertos.h
index 004bd1b6b..66070c273 100644
--- a/src/osal/osal_freertos.h
+++ b/src/osal/osal_freertos.h
@@ -67,7 +67,7 @@ static inline bool osal_semaphore_post(osal_semaphore_t sem_hdl, bool in_isr)
BaseType_t xHigherPriorityTaskWoken;
BaseType_t res = xSemaphoreGiveFromISR(sem_hdl, &xHigherPriorityTaskWoken);
-#if CFG_TUSB_MCU == OPT_MCU_ESP32S2
+#if CFG_TUSB_MCU == OPT_MCU_ESP32S2 || CFG_TUSB_MCU == OPT_MCU_ESP32S3
if ( xHigherPriorityTaskWoken ) portYIELD_FROM_ISR();
#else
portYIELD_FROM_ISR(xHigherPriorityTaskWoken);
@@ -150,7 +150,7 @@ static inline bool osal_queue_send(osal_queue_t qhdl, void const * data, bool in
BaseType_t xHigherPriorityTaskWoken;
BaseType_t res = xQueueSendToBackFromISR(qhdl, data, &xHigherPriorityTaskWoken);
-#if CFG_TUSB_MCU == OPT_MCU_ESP32S2
+#if CFG_TUSB_MCU == OPT_MCU_ESP32S2 || CFG_TUSB_MCU == OPT_MCU_ESP32S3
if ( xHigherPriorityTaskWoken ) portYIELD_FROM_ISR();
#else
portYIELD_FROM_ISR(xHigherPriorityTaskWoken);