Use `G28 W` only

This commit is contained in:
3d-gussner 2023-03-22 12:30:16 +01:00
parent bc27b71729
commit 7e0bf88431
3 changed files with 7 additions and 7 deletions

View File

@ -2809,7 +2809,7 @@ static void gcode_G80()
// Push the commands to the front of the message queue in the reverse order!
// There shall be always enough space reserved for these commands.
repeatcommand_front(); // repeat G80 with all its parameters
enquecommand_front_P(G28W0);
enquecommand_front_P(G28W);
return;
}
@ -2842,7 +2842,7 @@ static void gcode_G80()
temp_compensation_start();
run = true;
repeatcommand_front(); // repeat G80 with all its parameters
enquecommand_front_P(G28W0);
enquecommand_front_P(G28W);
return;
}
run = false;
@ -4736,7 +4736,7 @@ void process_commands()
// Push the commands to the front of the message queue in the reverse order!
// There shall be always enough space reserved for these commands.
repeatcommand_front(); // repeat G76 with all its parameters
enquecommand_front_P(G28W0);
enquecommand_front_P(G28W);
break;
}
lcd_show_fullscreen_message_and_wait_P(_i("Stable ambient temperature 21-26C is needed a rigid stand is required."));////MSG_TEMP_CAL_WARNING c=20 r=4
@ -4881,7 +4881,7 @@ void process_commands()
// Push the commands to the front of the message queue in the reverse order!
// There shall be always enough space reserved for these commands.
repeatcommand_front(); // repeat G76 with all its parameters
enquecommand_front_P(G28W0);
enquecommand_front_P(G28W);
break;
}
puts_P(_N("PINDA probe calibration start"));
@ -10101,7 +10101,7 @@ void bed_analysis(float x_dimension, float y_dimension, int x_points_num, int y_
// There shall be always enough space reserved for these commands.
repeatcommand_front(); // repeat G80 with all its parameters
enquecommand_front_P(G28W0);
enquecommand_front_P(G28W);
enquecommand_front_P((PSTR("G1 Z5")));
return;
}

View File

@ -231,7 +231,7 @@ const char MSG_UNKNOWN_CODE[] PROGMEM_N1 = "Unknown %c code: %s\n";
// Common G-gcodes
const char G1_E_F2700[] PROGMEM_N1 = "G1 E%-0.3f F2700";
const char G28W0[] PROGMEM_N1 = "G28 W0";
const char G28W[] PROGMEM_N1 = "G28 W";
const char MSG_M23[] PROGMEM_N1 = "M23 %s";
const char MSG_M24[] PROGMEM_N1 = "M24";
const char MSG_M83[] PROGMEM_N1 = "M83";

View File

@ -237,7 +237,7 @@ extern const char MSG_UNKNOWN_CODE[];
// Common G-gcodes
extern const char G1_E_F2700[];
extern const char G28W0[];
extern const char G28W[];
extern const char MSG_M23[];
extern const char MSG_M24[];
extern const char MSG_M83[];