Implement MALYAN_LCD

This commit is contained in:
Scott Lahteine
2018-02-04 00:39:01 -06:00
parent 4925f60cff
commit e5ee0b6f6c
5 changed files with 472 additions and 19 deletions

View File

@ -70,8 +70,10 @@ void GcodeSuite::M104() {
}
#endif
if (parser.value_celsius() > thermalManager.degHotend(e))
lcd_status_printf_P(0, PSTR("E%i %s"), e + 1, MSG_HEATING);
#if ENABLED(ULTRA_LCD)
if (parser.value_celsius() > thermalManager.degHotend(e))
lcd_status_printf_P(0, PSTR("E%i %s"), e + 1, MSG_HEATING);
#endif
}
#if ENABLED(AUTOTEMP)
@ -124,7 +126,10 @@ void GcodeSuite::M109() {
print_job_timer.start();
#endif
if (thermalManager.isHeatingHotend(target_extruder)) lcd_status_printf_P(0, PSTR("E%i %s"), target_extruder + 1, MSG_HEATING);
#if ENABLED(ULTRA_LCD)
if (thermalManager.isHeatingHotend(target_extruder))
lcd_status_printf_P(0, PSTR("E%i %s"), target_extruder + 1, MSG_HEATING);
#endif
}
else return;