diff --git a/Grbl_Esp32/src/Machine/MachineConfig.h b/Grbl_Esp32/src/Machine/MachineConfig.h index eaade29f..e4594da6 100644 --- a/Grbl_Esp32/src/Machine/MachineConfig.h +++ b/Grbl_Esp32/src/Machine/MachineConfig.h @@ -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; diff --git a/Grbl_Esp32/src/ProcessSettings.cpp b/Grbl_Esp32/src/ProcessSettings.cpp index 982d1c8c..b50e9bca 100644 --- a/Grbl_Esp32/src/ProcessSettings.cpp +++ b/Grbl_Esp32/src/ProcessSettings.cpp @@ -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()) {