mirror of
https://github.com/esphome/esphome.git
synced 2024-12-22 05:24:53 +01:00
Replace CENTER_LEFT with TOP_LEFT to match other printf function (#1295)
This commit is contained in:
parent
01bbd04a5a
commit
0e59243b83
1 changed files with 1 additions and 1 deletions
|
@ -299,7 +299,7 @@ void DisplayBuffer::printf(int x, int y, Font *font, TextAlign align, const char
|
|||
void DisplayBuffer::printf(int x, int y, Font *font, const char *format, ...) {
|
||||
va_list arg;
|
||||
va_start(arg, format);
|
||||
this->vprintf_(x, y, font, COLOR_ON, TextAlign::CENTER_LEFT, format, arg);
|
||||
this->vprintf_(x, y, font, COLOR_ON, TextAlign::TOP_LEFT, format, arg);
|
||||
va_end(arg);
|
||||
}
|
||||
void DisplayBuffer::set_writer(display_writer_t &&writer) { this->writer_ = writer; }
|
||||
|
|
Loading…
Reference in a new issue