mirror of
https://github.com/esphome/esphome.git
synced 2024-11-21 22:48:10 +01:00
[qspi_amoled] Fix display remaining blank after update() before setup completion (#6958)
This commit is contained in:
parent
e7556271e7
commit
6c11f0bd51
1 changed files with 3 additions and 0 deletions
|
@ -25,6 +25,9 @@ void QspiAmoLed::setup() {
|
|||
}
|
||||
|
||||
void QspiAmoLed::update() {
|
||||
if (!this->setup_complete_) {
|
||||
return;
|
||||
}
|
||||
this->do_update_();
|
||||
// Start addresses and widths/heights must be divisible by 2 (CASET/RASET restriction in datasheet)
|
||||
if (this->x_low_ % 2 == 1) {
|
||||
|
|
Loading…
Reference in a new issue