diff --git a/docs/en/api/preferences.rst b/docs/en/api/preferences.rst index 2b06b78df07..ca443a9475d 100644 --- a/docs/en/api/preferences.rst +++ b/docs/en/api/preferences.rst @@ -524,7 +524,7 @@ Arduino-esp32 Preferences API .. code-block:: arduino - uint8_t getUChar(const char* key, uint8_t defaultValue = 0); + bool getBool(const char* key, bool defaultValue = false); ..