fix(pcnt): only call esp_pm APIs when CONFIG_PM_ENABLE is enabled

Closes https://github.com/espressif/esp-idf/issues/15923
This commit is contained in:
morris
2025-05-12 18:55:06 +08:00
committed by Chen Jichang
parent 5783a22d84
commit 57420057b6
9 changed files with 45 additions and 29 deletions

View File

@@ -12,6 +12,7 @@ const pcnt_signal_conn_t pcnt_periph_signals = {
.groups = {
[0] = {
.irq = ETS_PCNT_INTR_SOURCE,
.module_name = "pcnt0",
.units = {
[0] = {
.channels = {