Update display.h

This commit is contained in:
mikosoft83 2024-11-02 23:12:57 +01:00 committed by GitHub
parent 4df46421a1
commit f26f1ea80c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -448,7 +448,7 @@ class Display : public PollingComponent {
* @param time The time to format. * @param time The time to format.
*/ */
void strftime(int x, int y, BaseFont *font, Color color, Color background, TextAlign align, const char *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`. /** Evaluate the strftime-format `format` and print the result with the top left at [x,y] with `font`.
* *