Fix log message for select docs (#1413)

This commit is contained in:
Jesse Hills 2021-08-24 13:15:07 +12:00 committed by GitHub
parent 405ac8c6c7
commit 92f15f8275
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ advanced stuff (see the full API Reference for more info).
.. code-block:: cpp
// For example, create a custom log message when an option is selected:
ESP_LOGI("main", "Option of my select: %f", id(my_select).state);
ESP_LOGI("main", "Option of my select: %s", id(my_select).state.c_str());
See Also
--------