mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 07:03:55 +00:00 
			
		
		
		
	[lvgl] Set correct buffer size (#8442)
This commit is contained in:
		
				
					committed by
					
						 Keith Burzinski
						Keith Burzinski
					
				
			
			
				
	
			
			
			
						parent
						
							42fb0e2809
						
					
				
				
					commit
					e213932b7c
				
			| @@ -441,7 +441,7 @@ void LvglComponent::setup() { | ||||
|     this->status_set_error("Memory allocation failure"); | ||||
|     return; | ||||
|   } | ||||
|   lv_disp_draw_buf_init(&this->draw_buf_, buffer, nullptr, buf_bytes); | ||||
|   lv_disp_draw_buf_init(&this->draw_buf_, buffer, nullptr, buffer_pixels); | ||||
|   this->disp_drv_.hor_res = width; | ||||
|   this->disp_drv_.ver_res = height; | ||||
|   // this->setup_driver_(display->get_width(), display->get_height()); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user