Fix LIGHTWEIGHT_UI with UBL

See https://github.com/MarlinFirmware/Marlin/issues/10317#issuecomment-379100702
This commit is contained in:
Scott Lahteine 2018-04-08 03:20:33 -05:00
parent e02fc4f1d6
commit a6485456df
2 changed files with 2 additions and 6 deletions

View File

@ -300,12 +300,6 @@ static void lcd_implementation_status_screen() {
// XYZ Coordinates // XYZ Coordinates
// //
#if ENABLED(USE_SMALL_INFOFONT)
#define INFO_FONT_HEIGHT 7
#else
#define INFO_FONT_HEIGHT 8
#endif
#define XYZ_BASELINE (30 + INFO_FONT_HEIGHT) #define XYZ_BASELINE (30 + INFO_FONT_HEIGHT)
#define X_LABEL_POS 3 #define X_LABEL_POS 3

View File

@ -74,8 +74,10 @@
#if ENABLED(USE_SMALL_INFOFONT) #if ENABLED(USE_SMALL_INFOFONT)
#include "dogm/dogm_font_data_6x9_marlin.h" #include "dogm/dogm_font_data_6x9_marlin.h"
#define FONT_STATUSMENU_NAME u8g_font_6x9 #define FONT_STATUSMENU_NAME u8g_font_6x9
#define INFO_FONT_HEIGHT 7
#else #else
#define FONT_STATUSMENU_NAME FONT_MENU_NAME #define FONT_STATUSMENU_NAME FONT_MENU_NAME
#define INFO_FONT_HEIGHT 8
#endif #endif
#include "dogm/dogm_font_data_Marlin_symbols.h" // The Marlin special symbols #include "dogm/dogm_font_data_Marlin_symbols.h" // The Marlin special symbols