fix(esp_timer): fix isr safe when CONFIG_FREERTOS_USE_TICKLESS_IDLE and PM_ENABLE

This commit is contained in:
wanckl
2024-10-22 15:07:17 +08:00
parent ef7406257a
commit 2f9456bf51
2 changed files with 3 additions and 2 deletions

View File

@@ -979,6 +979,7 @@ esp_err_t spi_bus_free(spi_host_device_t host_id)
sleep_retention_module_deinit(retention_id);
}
_lock_release(&ctx->mutex);
_lock_close(&ctx->mutex);
#endif
#ifdef CONFIG_PM_ENABLE