Use PSTR for common labels
This commit is contained in:
1 parent
f7d663c7db
commit
5e9a10dbae
9 files changed
+39
-24
No files matched your search
@@ -1212,10 +1212,10 @@ void MarlinUI::draw_status_screen() {
|
||||
#define _LCD_W_POS 12
|
||||
#define _PLOT_X 1
|
||||
#define _MAP_X 3
|
||||
#define _LABEL(C,X,Y) lcd_put_u8str(X, Y, C)
|
||||
#define _XLABEL(X,Y) _LABEL("X:",X,Y)
|
||||
#define _YLABEL(X,Y) _LABEL("Y:",X,Y)
|
||||
#define _ZLABEL(X,Y) _LABEL("Z:",X,Y)
|
||||
#define _LABEL(C,X,Y) lcd_put_u8str_P(X, Y, C)
|
||||
#define _XLABEL(X,Y) _LABEL(X_LBL,X,Y)
|
||||
#define _YLABEL(X,Y) _LABEL(Y_LBL,X,Y)
|
||||
#define _ZLABEL(X,Y) _LABEL(Z_LBL,X,Y)
|
||||
#else
|
||||
#define _LCD_W_POS 8
|
||||
#define _PLOT_X 0
|
||||
|
||||
Reference in new issue
Block a user