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 authored and GitHub committed 2023-07-05 20:58:04 -05:00
1 parent 677b2c6618
commit f9fc438de8
1 file changed
+2 -4
@@ -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_();