mirror of
https://github.com/esphome/esphome.git
synced 2025-09-02 03:12:20 +01:00
Fixed ili9xxx_display update() method (#5013)
There was an obsolete `if` statement left over from an other implementation.
This commit is contained in:
@@ -152,12 +152,10 @@ void ILI9XXXDisplay::update() {
|
||||
this->need_update_ = true;
|
||||
return;
|
||||
}
|
||||
this->prossing_update_ = true;
|
||||
do {
|
||||
this->prossing_update_ = true;
|
||||
this->need_update_ = false;
|
||||
if (!this->need_update_) {
|
||||
this->do_update_();
|
||||
}
|
||||
this->do_update_();
|
||||
} while (this->need_update_);
|
||||
this->prossing_update_ = false;
|
||||
this->display_();
|
||||
|
Reference in New Issue
Block a user