mirror of
https://github.com/bdring/Grbl_Esp32.git
synced 2025-08-30 01:30:05 +02:00
homing_single_axis_commands is always true
no longer configurable
This commit is contained in:
@@ -75,7 +75,6 @@ namespace Machine {
|
||||
handler.item("enable_parking_override_control", _enableParkingOverrideControl);
|
||||
handler.item("deactivate_parking_upon_init", _deactivateParkingUponInit);
|
||||
handler.item("check_limits_at_init", _checkLimitsAtInit);
|
||||
handler.item("homing_single_axis_commands", _homingSingleAxisCommands);
|
||||
handler.item("limits_two_switches_on_axis", _limitsTwoSwitchesOnAxis);
|
||||
handler.item("disable_laser_during_hold", _disableLaserDuringHold);
|
||||
handler.item("use_line_numbers", _useLineNumbers);
|
||||
|
@@ -77,7 +77,6 @@ namespace Machine {
|
||||
// executed in sync with GCode commands. It is not a real-time command.
|
||||
bool _enableParkingOverrideControl = false;
|
||||
bool _deactivateParkingUponInit = false;
|
||||
bool _homingSingleAxisCommands = false;
|
||||
|
||||
// At power-up or a reset, Grbl will check the limit switch states to ensure they are not active
|
||||
// before initialization. If it detects a problem and the hard limits setting is enabled, Grbl will
|
||||
|
@@ -506,14 +506,12 @@ void make_grbl_commands() {
|
||||
new GrblCommand("H", "Home", home_all, idleOrAlarm);
|
||||
new GrblCommand("MD", "Motor/Disable", motor_disable, idleOrAlarm);
|
||||
|
||||
if (config->_homingSingleAxisCommands) {
|
||||
new GrblCommand("HX", "Home/X", home_x, idleOrAlarm);
|
||||
new GrblCommand("HY", "Home/Y", home_y, idleOrAlarm);
|
||||
new GrblCommand("HZ", "Home/Z", home_z, idleOrAlarm);
|
||||
new GrblCommand("HA", "Home/A", home_a, idleOrAlarm);
|
||||
new GrblCommand("HB", "Home/B", home_b, idleOrAlarm);
|
||||
new GrblCommand("HC", "Home/C", home_c, idleOrAlarm);
|
||||
}
|
||||
new GrblCommand("HX", "Home/X", home_x, idleOrAlarm);
|
||||
new GrblCommand("HY", "Home/Y", home_y, idleOrAlarm);
|
||||
new GrblCommand("HZ", "Home/Z", home_z, idleOrAlarm);
|
||||
new GrblCommand("HA", "Home/A", home_a, idleOrAlarm);
|
||||
new GrblCommand("HB", "Home/B", home_b, idleOrAlarm);
|
||||
new GrblCommand("HC", "Home/C", home_c, idleOrAlarm);
|
||||
|
||||
new GrblCommand("SLP", "System/Sleep", sleep_grbl, idleOrAlarm);
|
||||
new GrblCommand("I", "Build/Info", get_report_build_info, idleOrAlarm);
|
||||
|
@@ -563,9 +563,7 @@ void report_build_info(const char* line, uint8_t client) {
|
||||
grbl_send(client, "M"); // TODO Need to deal with M8...it could be disabled
|
||||
}
|
||||
grbl_send(client, "P");
|
||||
if (config->_homingSingleAxisCommands) {
|
||||
grbl_send(client, "H");
|
||||
}
|
||||
grbl_send(client, "H");
|
||||
if (config->_limitsTwoSwitchesOnAxis) {
|
||||
grbl_send(client, "L");
|
||||
}
|
||||
|
Reference in New Issue
Block a user