Browse Source

Fix submenu hotend status display

pull/1/head
Scott Lahteine 8 years ago
parent
commit
cea3ea772c
  1. 2
      Marlin/ultralcd_impl_DOGM.h
  2. 2
      Marlin/ultralcd_impl_HD44780.h

2
Marlin/ultralcd_impl_DOGM.h

@ -634,7 +634,7 @@ static void lcd_implementation_status_screen() {
u8g.setPrintPos(LCD_PIXEL_WIDTH - 11 * (DOG_CHAR_WIDTH), row_y2); u8g.setPrintPos(LCD_PIXEL_WIDTH - 11 * (DOG_CHAR_WIDTH), row_y2);
lcd_print('E'); lcd_print('E');
lcd_print((char)('0' + active_extruder)); lcd_print((char)('1' + active_extruder));
lcd_print(' '); lcd_print(' ');
lcd_print(itostr3(thermalManager.degHotend(active_extruder))); lcd_print(itostr3(thermalManager.degHotend(active_extruder)));
lcd_print('/'); lcd_print('/');

2
Marlin/ultralcd_impl_HD44780.h

@ -807,7 +807,7 @@ static void lcd_implementation_status_screen() {
static void lcd_implementation_hotend_status(const uint8_t row) { static void lcd_implementation_hotend_status(const uint8_t row) {
if (row < LCD_HEIGHT) { if (row < LCD_HEIGHT) {
lcd.setCursor(LCD_WIDTH - 9, row); lcd.setCursor(LCD_WIDTH - 9, row);
lcd.print(LCD_STR_THERMOMETER[active_extruder]); lcd.print(LCD_STR_THERMOMETER[0]);
lcd.print(itostr3(thermalManager.degHotend(active_extruder))); lcd.print(itostr3(thermalManager.degHotend(active_extruder)));
lcd.print('/'); lcd.print('/');
lcd.print(itostr3(thermalManager.degTargetHotend(active_extruder))); lcd.print(itostr3(thermalManager.degTargetHotend(active_extruder)));

Loading…
Cancel
Save