commit
7d25c107a8
@ -4114,7 +4114,7 @@ inline void gcode_M140() {
|
|||||||
* F<fan speed>
|
* F<fan speed>
|
||||||
*/
|
*/
|
||||||
inline void gcode_M145() {
|
inline void gcode_M145() {
|
||||||
uint8_t material = code_seen('S') ? code_value_short() : 0;
|
int8_t material = code_seen('S') ? code_value_short() : 0;
|
||||||
if (material < 0 || material > 1) {
|
if (material < 0 || material > 1) {
|
||||||
SERIAL_ERROR_START;
|
SERIAL_ERROR_START;
|
||||||
SERIAL_ERRORLNPGM(MSG_ERR_MATERIAL_INDEX);
|
SERIAL_ERRORLNPGM(MSG_ERR_MATERIAL_INDEX);
|
||||||
|
@ -493,7 +493,7 @@ void lcd_set_home_offsets() {
|
|||||||
encoderPosition = 0;
|
encoderPosition = 0;
|
||||||
lcdDrawUpdate = 1;
|
lcdDrawUpdate = 1;
|
||||||
}
|
}
|
||||||
if (lcdDrawUpdate) lcd_implementation_drawedit(msg, "");
|
if (lcdDrawUpdate) lcd_implementation_drawedit(msg, (char*)"");
|
||||||
if (LCD_CLICKED) lcd_goto_previous_menu();
|
if (LCD_CLICKED) lcd_goto_previous_menu();
|
||||||
}
|
}
|
||||||
static void lcd_babystep_x() { _lcd_babystep(X_AXIS, PSTR(MSG_BABYSTEPPING_X)); }
|
static void lcd_babystep_x() { _lcd_babystep(X_AXIS, PSTR(MSG_BABYSTEPPING_X)); }
|
||||||
@ -2338,7 +2338,7 @@ char* ftostr52(const float& x) {
|
|||||||
* MBL Move to mesh starting point
|
* MBL Move to mesh starting point
|
||||||
*/
|
*/
|
||||||
static void _lcd_level_bed_homing() {
|
static void _lcd_level_bed_homing() {
|
||||||
if (lcdDrawUpdate) lcd_implementation_drawedit(PSTR("XYZ"), "Homing");
|
if (lcdDrawUpdate) lcd_implementation_drawedit(PSTR("XYZ"), (char*)"Homing");
|
||||||
if (axis_known_position[X_AXIS] && axis_known_position[Y_AXIS] && axis_known_position[Z_AXIS]) {
|
if (axis_known_position[X_AXIS] && axis_known_position[Y_AXIS] && axis_known_position[Z_AXIS]) {
|
||||||
current_position[Z_AXIS] = MESH_HOME_SEARCH_Z;
|
current_position[Z_AXIS] = MESH_HOME_SEARCH_Z;
|
||||||
plan_set_position(current_position[X_AXIS], current_position[Y_AXIS], current_position[Z_AXIS], current_position[E_AXIS]);
|
plan_set_position(current_position[X_AXIS], current_position[Y_AXIS], current_position[Z_AXIS], current_position[E_AXIS]);
|
||||||
|
Loading…
Reference in New Issue
Block a user