Update display.h

This commit is contained in:
mikosoft83 2024-11-02 23:03:59 +01:00 committed by GitHub
parent 52adf0ff89
commit c87533eb62
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -448,8 +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, 7, 0)));
/** Evaluate the strftime-format `format` and print the result with the top left at [x,y] with `font`.
*