Fix undefined lcd_tmpfan_speed on NO_LCD_MENUS (#13006)
This commit is contained in:
		@@ -260,7 +260,7 @@ void MarlinUI::init() {
 | 
			
		||||
    encoderDiff = 0;
 | 
			
		||||
  #endif
 | 
			
		||||
 | 
			
		||||
  #if HAS_TRINAMIC
 | 
			
		||||
  #if HAS_TRINAMIC && HAS_LCD_MENU
 | 
			
		||||
    init_tmc_section();
 | 
			
		||||
  #endif
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -164,7 +164,7 @@ int16_t Temperature::current_temperature_raw[HOTENDS], // = { 0 }
 | 
			
		||||
    if (target >= FAN_COUNT) return;
 | 
			
		||||
 | 
			
		||||
    fan_speed[target] = speed;
 | 
			
		||||
    #if ENABLED(ULTRA_LCD)
 | 
			
		||||
    #if HAS_LCD_MENU
 | 
			
		||||
      lcd_tmpfan_speed[target] = speed;
 | 
			
		||||
    #endif
 | 
			
		||||
  }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user