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