Skip to content

Commit

Permalink
Move some MarlinCore and MarlinUI code (MarlinFirmware#20832)
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead authored and zillarob committed Feb 26, 2021
1 parent b95643b commit c483261
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Marlin/src/lcd/dogm/marlinui_DOGM.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -541,6 +541,8 @@ void MarlinUI::clear_lcd() { } // Automatically cleared by Picture Loop

// Put Relevant Text on Display

extern const char X_LBL[], Y_LBL[], Z_LBL[];

// Show X and Y positions at top of screen
u8g.setColorIndex(1);
if (PAGE_UNDER(7)) {
Expand Down
2 changes: 2 additions & 0 deletions Marlin/src/lcd/menu/menu_configuration.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,8 @@ void menu_advanced_settings();
#include "../../module/motion.h"
#include "../../gcode/queue.h"

extern const char G28_STR[];

void menu_tool_offsets() {

auto _recalc_offsets = []{
Expand Down
1 change: 1 addition & 0 deletions Marlin/src/lcd/menu/menu_delta_calibrate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ void _man_probe_pt(const xy_pos_t &xy) {
}

void _lcd_delta_calibrate_home() {
extern const char G28_STR[];
queue.inject_P(G28_STR);
ui.goto_screen(_lcd_calibrate_homing);
}
Expand Down
2 changes: 2 additions & 0 deletions Marlin/src/lcd/menu/menu_motion.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@
float manual_move_e_origin = 0;
#endif

extern const char G28_STR[];

//
// "Motion" > "Move Axis" submenu
//
Expand Down

0 comments on commit c483261

Please sign in to comment.