From f26f1ea80c16fabb561ddcd65596b754f5037856 Mon Sep 17 00:00:00 2001 From: mikosoft83 <63317931+mikosoft83@users.noreply.github.com> Date: Sat, 2 Nov 2024 23:12:57 +0100 Subject: [PATCH] Update display.h --- esphome/components/display/display.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esphome/components/display/display.h b/esphome/components/display/display.h index ff0470416f..bff86529d4 100644 --- a/esphome/components/display/display.h +++ b/esphome/components/display/display.h @@ -448,7 +448,7 @@ class Display : public PollingComponent { * @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))); + ESPTime time) __attribute__((format(strftime, 8, 0))); /** Evaluate the strftime-format `format` and print the result with the top left at [x,y] with `font`. *