mirror of
https://github.com/esphome/esphome.git
synced 2024-11-10 01:07:45 +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:
parent
677b2c6618
commit
f9fc438de8
1 changed files with 2 additions and 4 deletions
|
@ -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_();
|
||||
|
|
Loading…
Reference in a new issue