Fix some of the duplicated PSTRs, saving 500bytes of flash with LCD on.
This commit is contained in:
@ -198,6 +198,8 @@ static void lcd_implementation_status_screen()
|
||||
lcd.print('/');
|
||||
lcd.print(itostr3left(tTarget));
|
||||
lcd_printPGM(PSTR(LCD_STR_DEGREE " "));
|
||||
if (tTarget < 10)
|
||||
lcd.print(' ');
|
||||
|
||||
# if EXTRUDERS > 1 || TEMP_SENSOR_BED != 0
|
||||
//If we have an 2nd extruder or heated bed, show that in the top right corner
|
||||
@ -215,6 +217,8 @@ static void lcd_implementation_status_screen()
|
||||
lcd.print('/');
|
||||
lcd.print(itostr3left(tTarget));
|
||||
lcd_printPGM(PSTR(LCD_STR_DEGREE " "));
|
||||
if (tTarget < 10)
|
||||
lcd.print(' ');
|
||||
# endif//EXTRUDERS > 1 || TEMP_SENSOR_BED != 0
|
||||
#endif//LCD_WIDTH > 19
|
||||
|
||||
@ -242,6 +246,8 @@ static void lcd_implementation_status_screen()
|
||||
lcd.print('/');
|
||||
lcd.print(itostr3left(tTarget));
|
||||
lcd_printPGM(PSTR(LCD_STR_DEGREE " "));
|
||||
if (tTarget < 10)
|
||||
lcd.print(' ');
|
||||
# else
|
||||
lcd.setCursor(0,1);
|
||||
lcd.print('X');
|
||||
|
Reference in New Issue
Block a user