From bcdfc744c6a1fe5b73e17f2f961c7a6fc4697814 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Sat, 26 Jul 2025 21:48:53 -1000 Subject: [PATCH] missed existing helper --- esphome/components/light/light_call.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esphome/components/light/light_call.cpp b/esphome/components/light/light_call.cpp index 723dfb4667..2b5781ca25 100644 --- a/esphome/components/light/light_call.cpp +++ b/esphome/components/light/light_call.cpp @@ -68,7 +68,7 @@ static const LogString *color_mode_to_human(ColorMode color_mode) { // Helper to log percentage values #if ESPHOME_LOG_LEVEL >= ESPHOME_LOG_LEVEL_DEBUG -static inline void log_percent(const char *name, const char *param, float value) { +static void log_percent(const char *name, const char *param, float value) { ESP_LOGD(TAG, " %s: %.0f%%", param, value * 100.0f); } #else