From cc85086c08852bd1d88ac6cf4acc9350e44c73af Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Sun, 22 Feb 2026 21:37:44 -0600 Subject: [PATCH] Force inline write_digit to prevent separate symbol emission --- esphome/components/logger/log_buffer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esphome/components/logger/log_buffer.h b/esphome/components/logger/log_buffer.h index 70b2d795a6..900c78fd2d 100644 --- a/esphome/components/logger/log_buffer.h +++ b/esphome/components/logger/log_buffer.h @@ -158,7 +158,7 @@ struct LogBuffer { } #endif // Extract one decimal digit via subtraction (no division - important for ESP8266) - static inline void write_digit(char *&p, int &value, int divisor) { + static inline void ESPHOME_ALWAYS_INLINE write_digit(char *&p, int &value, int divisor) { char d = '0'; while (value >= divisor) { d++;