mirror of
https://github.com/bdring/Grbl_Esp32.git
synced 2025-09-01 10:23:19 +02:00
Fixed two minor bugs in homing
This commit is contained in:
@@ -65,7 +65,7 @@ namespace Machine {
|
|||||||
uint8_t _idleTime = 255;
|
uint8_t _idleTime = 255;
|
||||||
bool _verboseErrors = false;
|
bool _verboseErrors = false;
|
||||||
bool _reportInches = false;
|
bool _reportInches = false;
|
||||||
bool _homingInitLock = false;
|
bool _homingInitLock = true;
|
||||||
int _softwareDebounceMs = 0;
|
int _softwareDebounceMs = 0;
|
||||||
int _stepType = ST_RMT;
|
int _stepType = ST_RMT;
|
||||||
|
|
||||||
|
@@ -249,7 +249,7 @@ Error report_ngc(const char* value, WebUI::AuthenticationLevel auth_level, WebUI
|
|||||||
return Error::Ok;
|
return Error::Ok;
|
||||||
}
|
}
|
||||||
Error home(int cycle) {
|
Error home(int cycle) {
|
||||||
if (homingAxes()) {
|
if (!homingAxes()) {
|
||||||
return Error::SettingDisabled;
|
return Error::SettingDisabled;
|
||||||
}
|
}
|
||||||
if (config->_control->system_check_safety_door_ajar()) {
|
if (config->_control->system_check_safety_door_ajar()) {
|
||||||
|
Reference in New Issue
Block a user