Merge branch 'contrib/github_pr_14310_v5.3' into 'release/v5.3'

fix(gptimer): remove incorrect param from example (GitHub PR) (v5.3)

See merge request espressif/esp-idf!32684
This commit is contained in:
morris 2024-09-04 11:32:05 +08:00
commit 14f723244c
2 changed files with 2 additions and 2 deletions

View File

@ -261,7 +261,7 @@ Alarm value can be updated dynamically inside the ISR handler callback, by chang
};
ESP_ERROR_CHECK(gptimer_register_event_callbacks(gptimer, &cbs, queue));
ESP_ERROR_CHECK(gptimer_enable(gptimer));
ESP_ERROR_CHECK(gptimer_start(gptimer, &alarm_config));
ESP_ERROR_CHECK(gptimer_start(gptimer));
.. only:: SOC_ETM_SUPPORTED and SOC_TIMER_SUPPORT_ETM

View File

@ -261,7 +261,7 @@
};
ESP_ERROR_CHECK(gptimer_register_event_callbacks(gptimer, &cbs, queue));
ESP_ERROR_CHECK(gptimer_enable(gptimer));
ESP_ERROR_CHECK(gptimer_start(gptimer, &alarm_config));
ESP_ERROR_CHECK(gptimer_start(gptimer));
.. only:: SOC_ETM_SUPPORTED and SOC_TIMER_SUPPORT_ETM