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