Fix undefined lcd_tmpfan_speed on NO_LCD_MENUS (#13006)

2.0.x
Jiri 6 years ago committed by Scott Lahteine
parent 8f9b246d0e
commit 24fffb8d93

@ -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
}

Loading…
Cancel
Save