Browse Source

Remove extraneous ui. prefixes

Scott Lahteine 6 years ago
parent
commit
2f8e89adc3

+ 1
- 1
Marlin/src/lcd/HD44780/ultralcd_HD44780.cpp View File

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

+ 1
- 1
Marlin/src/lcd/dogm/ultralcd_DOGM.cpp View File

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

+ 1
- 1
Marlin/src/lcd/menu/menu.cpp View File

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

Loading…
Cancel
Save