Fixed ili9xxx_display update() method (#5013)

There was an obsolete `if` statement left over from an other implementation.
This commit is contained in:
NP v/d Spek 2023-07-06 03:58:04 +02:00 committed by GitHub
parent 677b2c6618
commit f9fc438de8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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_();