Browse Source

Remove extraneous ui. prefixes

pull/1/head
Scott Lahteine 6 years ago
parent
commit
2f8e89adc3
  1. 2
      Marlin/src/lcd/HD44780/ultralcd_HD44780.cpp
  2. 2
      Marlin/src/lcd/dogm/ultralcd_DOGM.cpp
  3. 2
      Marlin/src/lcd/menu/menu.cpp

2
Marlin/src/lcd/HD44780/ultralcd_HD44780.cpp

@ -981,7 +981,7 @@ void MarlinUI::draw_status_screen() {
void MarlinUI::draw_hotend_status(const uint8_t row, const uint8_t extruder) {
if (row < LCD_HEIGHT) {
lcd_moveto(LCD_WIDTH - 9, row);
_draw_heater_status(extruder, LCD_STR_THERMOMETER[0], ui.get_blink());
_draw_heater_status(extruder, LCD_STR_THERMOMETER[0], get_blink());
}
}

2
Marlin/src/lcd/dogm/ultralcd_DOGM.cpp

@ -162,7 +162,7 @@ void MarlinUI::set_font(const MarlinFont font_nr) {
u8g.firstPage();
do {
u8g.drawBitmapP(offx, offy, (START_BMPWIDTH + 7) / 8, START_BMPHEIGHT, start_bmp);
ui.set_font(FONT_MENU);
set_font(FONT_MENU);
#ifndef STRING_SPLASH_LINE2
const uint8_t txt1X = width - (sizeof(STRING_SPLASH_LINE1) - 1) * (MENU_FONT_WIDTH);
u8g.drawStr(txt1X, (height + MENU_FONT_HEIGHT) / 2, STRING_SPLASH_LINE1);

2
Marlin/src/lcd/menu/menu.cpp

@ -232,7 +232,7 @@ void MarlinUI::goto_screen(screenFunc_t screen, const uint32_t encoder/*=0*/) {
currentScreen = screen;
encoderPosition = encoder;
if (screen == status_screen) {
ui.defer_status_screen(false);
defer_status_screen(false);
#if ENABLED(AUTO_BED_LEVELING_UBL)
ubl.lcd_map_control = false;
#endif

Loading…
Cancel
Save