mirror of
https://github.com/esphome/esphome.git
synced 2024-11-30 10:44:13 +01:00
[max6921] handle "it" lambda stuff before updating the display buffer
This commit is contained in:
parent
d9e5e75909
commit
3fc7a808b9
1 changed files with 1 additions and 2 deletions
|
@ -62,10 +62,9 @@ void HOT MAX6921Component::write_data(uint8_t *ptr, size_t length) {
|
|||
}
|
||||
|
||||
void MAX6921Component::update() {
|
||||
this->display_->update();
|
||||
|
||||
if (this->writer_.has_value())
|
||||
(*this->writer_)(*this);
|
||||
this->display_->update();
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue