Skip to content

Commit 097f2ab

Browse files
docs(ledc):Fixed outdated function signature (void ledcWrite instead of bool ledcWrite) (espressif#9680)
1 parent 316c021 commit 097f2ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/en/api/ledc.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ This function is used to set duty for the LEDC pin.
6868

6969
.. code-block:: arduino
7070
71-
void ledcWrite(uint8_t pin, uint32_t duty);
71+
bool ledcWrite(uint8_t pin, uint32_t duty);
7272
7373
* ``pin`` select LEDC pin.
7474
* ``duty`` select duty to be set for selected LEDC pin.

0 commit comments

Comments
 (0)