From c87533eb624277c15057e6a1808443324d0664b7 Mon Sep 17 00:00:00 2001 From: mikosoft83 <63317931+mikosoft83@users.noreply.github.com> Date: Sat, 2 Nov 2024 23:03:59 +0100 Subject: [PATCH] Update display.h --- esphome/components/display/display.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/esphome/components/display/display.h b/esphome/components/display/display.h index e3bdadb48c..28db272221 100644 --- a/esphome/components/display/display.h +++ b/esphome/components/display/display.h @@ -447,9 +447,8 @@ class Display : public PollingComponent { * @param format The strftime format to use. * @param time The time to format. */ - void strftime(int x, int y, BaseFont *font, Color color, Color background TextAlign align, const char *format, - ESPTime time) - __attribute__((format(strftime, 7, 0))); + void strftime(int x, int y, BaseFont *font, Color color, Color background TextAlign align, const char *format, + ESPTime time) __attribute__((format(strftime, 7, 0))); /** Evaluate the strftime-format `format` and print the result with the top left at [x,y] with `font`. *