[max6921] handle "it" lambda stuff before updating the display buffer

This commit is contained in:
endym 2024-09-28 17:13:18 +02:00
parent d9e5e75909
commit 3fc7a808b9

View file

@ -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();
}
/*