Update display.cpp

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

View file

@ -662,7 +662,7 @@ void DisplayOnPageChangeTrigger::process(DisplayPage *from, DisplayPage *to) {
if ((this->from_ == nullptr || this->from_ == from) && (this->to_ == nullptr || this->to_ == to))
this->trigger(from, to);
}
void Display::strftime(int x, int y, BaseFont *font, Color color, Color background, TextAlign align, const char *format,
void Display::strftime(int x, int y, BaseFont *font, Color color, Color background, TextAlign align, const char *format,
ESPTime time) {
char buffer[64];
size_t ret = time.strftime(buffer, sizeof(buffer), format);