committed by
					
						
						Scott Lahteine
					
				
			
			
				
	
			
			
			
						parent
						
							30d1f0ba81
						
					
				
				
					commit
					c7b0626b02
				
			@@ -270,7 +270,7 @@ void my_disp_flush(lv_disp_drv_t * disp, const lv_area_t * area, lv_color_t * co
 | 
			
		||||
  uint16_t width = area->x2 - area->x1 + 1,
 | 
			
		||||
          height = area->y2 - area->y1 + 1;
 | 
			
		||||
 | 
			
		||||
  TERN_(USE_SPI_DMA_TC, disp_drv_p = disp);
 | 
			
		||||
  disp_drv_p = disp;
 | 
			
		||||
 | 
			
		||||
  SPI_TFT.setWindow((uint16_t)area->x1, (uint16_t)area->y1, width, height);
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -369,7 +369,8 @@
 | 
			
		||||
#endif // HAS_WIRED_LCD
 | 
			
		||||
 | 
			
		||||
#if HAS_TFT_LVGL_UI
 | 
			
		||||
  #define USE_SPI_DMA_TC
 | 
			
		||||
  // Enable SPI DMA, this requires button pins, thus no buttons. Default is DISABLED.
 | 
			
		||||
  //#define USE_SPI_DMA_TC
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ANY(TFT_COLOR_UI, TFT_LVGL_UI, TFT_CLASSIC_UI, HAS_WIRED_LCD)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user