Merge pull request #9470 from thinkyhead/bf2_malyan_clueless

[2.0.x] Malyan M200 LCD
This commit is contained in:
Scott Lahteine
2018-02-05 05:03:18 -06:00
committed by GitHub
59 changed files with 797 additions and 20 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;