From 57eb645f5efdb1d60edb32a6614af007ce0a9f33 Mon Sep 17 00:00:00 2001 From: Leandro Resende Mattioli Date: Fri, 24 May 2024 16:47:35 -0300 Subject: [PATCH] docs(ledc):Fixed outdated function signature (void ledcWrite instead of bool ledcWrite) --- docs/en/api/ledc.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/api/ledc.rst b/docs/en/api/ledc.rst index e2a18779571..908165717f1 100644 --- a/docs/en/api/ledc.rst +++ b/docs/en/api/ledc.rst @@ -68,7 +68,7 @@ This function is used to set duty for the LEDC pin. .. code-block:: arduino - void ledcWrite(uint8_t pin, uint32_t duty); + bool ledcWrite(uint8_t pin, uint32_t duty); * ``pin`` select LEDC pin. * ``duty`` select duty to be set for selected LEDC pin.