Update display.h

This commit is contained in:
mikosoft83 2024-11-21 08:13:07 +01:00 committed by GitHub
parent 09f10f3494
commit 6ad38a7113
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -442,10 +442,7 @@ class Display : public PollingComponent {
* @param x The x coordinate of the text alignment anchor point. * @param x The x coordinate of the text alignment anchor point.
* @param y The y coordinate of the text alignment anchor point. * @param y The y coordinate of the text alignment anchor point.
* @param font The font to draw the text with. * @param font The font to draw the text with.
* @param color The color to draw the text with. * @param ... The arguments to use for the text formatting.
* @param align The alignment of the text.
* @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, void strftime(int x, int y, BaseFont *font, Color color, Color background, TextAlign align, const char *format,
ESPTime time) __attribute__((format(strftime, 8, 0))); ESPTime time) __attribute__((format(strftime, 8, 0)));