Add M701 / M702 filament load / unload

This commit is contained in:
Thomas Moore 2017-12-26 22:51:55 -06:00 committed by Scott Lahteine
parent d1cad5afa4
commit 81193e9338
41 changed files with 1030 additions and 608 deletions

View file

@ -764,7 +764,7 @@ static void lcd_implementation_status_screen() {
#if ENABLED(ADVANCED_PAUSE_FEATURE)
static void lcd_implementation_hotend_status(const uint8_t row) {
static void lcd_implementation_hotend_status(const uint8_t row, const uint8_t extruder=active_extruder) {
row_y1 = row * row_height + 1;
row_y2 = row_y1 + row_height - 1;
@ -772,13 +772,13 @@ static void lcd_implementation_status_screen() {
u8g.setPrintPos(LCD_PIXEL_WIDTH - 11 * (DOG_CHAR_WIDTH), row_y2);
lcd_print('E');
lcd_print((char)('1' + active_extruder));
lcd_print((char)('1' + extruder));
lcd_print(' ');
lcd_print(itostr3(thermalManager.degHotend(active_extruder)));
lcd_print(itostr3(thermalManager.degHotend(extruder)));
lcd_print('/');
if (lcd_blink() || !thermalManager.is_heater_idle(active_extruder))
lcd_print(itostr3(thermalManager.degTargetHotend(active_extruder)));
if (lcd_blink() || !thermalManager.is_heater_idle(extruder))
lcd_print(itostr3(thermalManager.degTargetHotend(extruder)));
}
#endif // ADVANCED_PAUSE_FEATURE