From 92f15f827518da8b9703c201ab2ce89e77b19e2f Mon Sep 17 00:00:00 2001 From: Jesse Hills <3060199+jesserockz@users.noreply.github.com> Date: Tue, 24 Aug 2021 13:15:07 +1200 Subject: [PATCH] Fix log message for select docs (#1413) --- components/select/index.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/select/index.rst b/components/select/index.rst index c3cecc4fd..ec0bb3c5a 100644 --- a/components/select/index.rst +++ b/components/select/index.rst @@ -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 --------