mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
docs(gptimer): remove incorrect param from example
Fixes call to `gptimer_start` in one of the examples which includes extra second parameter `&alarm_config`, when the function takes only one. Mreges https://github.com/espressif/esp-idf/pull/14310
This commit is contained in:
parent
03f66399a1
commit
3e53dff916
@ -260,7 +260,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
|
||||
|
@ -260,7 +260,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
|
||||
|
Loading…
x
Reference in New Issue
Block a user