mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 15:12:06 +00:00 
			
		
		
		
	[qspi_amoled] Fix display remaining blank after update() before setup completion (#6958)
This commit is contained in:
		| @@ -25,6 +25,9 @@ void QspiAmoLed::setup() { | |||||||
| } | } | ||||||
|  |  | ||||||
| void QspiAmoLed::update() { | void QspiAmoLed::update() { | ||||||
|  |   if (!this->setup_complete_) { | ||||||
|  |     return; | ||||||
|  |   } | ||||||
|   this->do_update_(); |   this->do_update_(); | ||||||
|   // Start addresses and widths/heights must be divisible by 2 (CASET/RASET restriction in datasheet) |   // Start addresses and widths/heights must be divisible by 2 (CASET/RASET restriction in datasheet) | ||||||
|   if (this->x_low_ % 2 == 1) { |   if (this->x_low_ % 2 == 1) { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user