Fix LIGHTWEIGHT_UI with UBL

As mentioned in https://github.com/MarlinFirmware/Marlin/issues/10317#issuecomment-379100702
This commit is contained in:
Scott Lahteine 2018-04-08 03:09:15 -05:00
parent 6ec2cbce18
commit 6f8717ce12
2 changed files with 2 additions and 6 deletions

View File

@ -300,12 +300,6 @@ static void lcd_implementation_status_screen() {
// 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 X_LABEL_POS 3

View File

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