|
|
@@ -211,6 +211,11 @@ static void IRAM_ATTR wifi_int_restore_wrapper(void *wifi_int_mux, uint32_t tmp)
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+static bool IRAM_ATTR is_from_isr_wrapper(void)
|
|
|
+{
|
|
|
+ return xPortInIsrContext();
|
|
|
+}
|
|
|
+
|
|
|
static void IRAM_ATTR task_yield_from_isr_wrapper(void)
|
|
|
{
|
|
|
portYIELD_FROM_ISR();
|
|
|
@@ -636,6 +641,7 @@ wifi_osi_funcs_t g_wifi_osi_funcs = {
|
|
|
._coex_condition_set = coex_condition_set_wrapper,
|
|
|
._coex_wifi_request = coex_wifi_request_wrapper,
|
|
|
._coex_wifi_release = coex_wifi_release_wrapper,
|
|
|
+ ._is_from_isr = is_from_isr_wrapper,
|
|
|
._magic = ESP_WIFI_OS_ADAPTER_MAGIC,
|
|
|
};
|
|
|
|