Skip to content

Commit c61436a

Browse files
committed
docs(ledc): Update ledcSetClockSource description
1 parent 1211caf commit c61436a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: docs/en/api/ledc.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ Arduino-ESP32 LEDC API
2626
ledcSetCLockSource
2727
******************
2828

29-
This function is used to set the LEDC peripheral clock source. The default clock source is XTAL clock (``LEDC_USE_XTAL_CLK``) if supported by the SoC,
30-
otherwise it is AUTO clock (``LEDC_AUTO_CLK``).
29+
This function is used to set the LEDC peripheral clock source. Must be called before any LEDC channel is used.
30+
The default clock source is XTAL clock (``LEDC_USE_XTAL_CLK``) if supported by the SoC, otherwise it is AUTO clock (``LEDC_AUTO_CLK``).
3131

3232
.. code-block:: arduino
3333

0 commit comments

Comments
 (0)