🐛 Fix STM32 delay, double reset in FSMC TFT init (#22584)
This commit is contained in:
		
				
					committed by
					
						
						Scott Lahteine
					
				
			
			
				
	
			
			
			
						parent
						
							2e14bf15dd
						
					
				
				
					commit
					bb12ebcca6
				
			@@ -36,16 +36,6 @@ LCD_CONTROLLER_TypeDef *TFT_FSMC::LCD;
 | 
			
		||||
 | 
			
		||||
void TFT_FSMC::Init() {
 | 
			
		||||
  uint32_t controllerAddress;
 | 
			
		||||
 | 
			
		||||
  #if PIN_EXISTS(TFT_RESET)
 | 
			
		||||
    OUT_WRITE(TFT_RESET_PIN, HIGH);
 | 
			
		||||
    HAL_Delay(100);
 | 
			
		||||
  #endif
 | 
			
		||||
 | 
			
		||||
  #if PIN_EXISTS(TFT_BACKLIGHT)
 | 
			
		||||
    OUT_WRITE(TFT_BACKLIGHT_PIN, HIGH);
 | 
			
		||||
  #endif
 | 
			
		||||
 | 
			
		||||
  FSMC_NORSRAM_TimingTypeDef Timing, ExtTiming;
 | 
			
		||||
 | 
			
		||||
  uint32_t NSBank = (uint32_t)pinmap_peripheral(digitalPinToPinName(TFT_CS_PIN), PinMap_FSMC_CS);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user