mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-06-07 21:33:32 +02: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;
|
this->need_update_ = true;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
do {
|
|
||||||
this->prossing_update_ = true;
|
this->prossing_update_ = true;
|
||||||
|
do {
|
||||||
this->need_update_ = false;
|
this->need_update_ = false;
|
||||||
if (!this->need_update_) {
|
|
||||||
this->do_update_();
|
this->do_update_();
|
||||||
}
|
|
||||||
} while (this->need_update_);
|
} while (this->need_update_);
|
||||||
this->prossing_update_ = false;
|
this->prossing_update_ = false;
|
||||||
this->display_();
|
this->display_();
|
||||||
|
|||||||
Reference in New Issue
Block a user