mirror of
https://github.com/bdring/Grbl_Esp32.git
synced 2025-08-30 09:39:49 +02:00
Rst responses (#679)
* Added verification of changes from $RST command When sending $RST=$ you only get these responses. [MSG:WiFi reset done] [MSG:BT reset done] Added the other things that change. [MSG:WiFi reset done] [MSG:BT reset done] [MSG:Settings reset done] [MSG:Postion offsets reset done] * Update ProcessSettings.cpp * Update Grbl.h * Update ProcessSettings.cpp
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
// Grbl versioning system
|
||||
|
||||
const char* const GRBL_VERSION = "1.3a";
|
||||
const char* const GRBL_VERSION_BUILD = "20201122";
|
||||
const char* const GRBL_VERSION_BUILD = "20201123";
|
||||
|
||||
//#include <sdkconfig.h>
|
||||
#include <Arduino.h>
|
||||
|
@@ -54,12 +54,14 @@ void settings_restore(uint8_t restore_flag) {
|
||||
}
|
||||
}
|
||||
}
|
||||
grbl_msg_sendf(CLIENT_SERIAL, MsgLevel::Info, "Settings reset done");
|
||||
}
|
||||
if (restore_flag & SettingsRestore::Parameters) {
|
||||
for (auto idx = CoordIndex::Begin; idx < CoordIndex::End; ++idx) {
|
||||
coords[idx]->setDefault();
|
||||
}
|
||||
}
|
||||
grbl_msg_sendf(CLIENT_SERIAL, MsgLevel::Info, "Position offsets reset done");
|
||||
}
|
||||
|
||||
// Get settings values from non volatile storage into memory
|
||||
@@ -358,7 +360,6 @@ Error listAlarms(const char* value, WebUI::AuthenticationLevel auth_level, WebUI
|
||||
return Error::Ok;
|
||||
}
|
||||
|
||||
|
||||
const char* errorString(Error errorNumber) {
|
||||
auto it = ErrorNames.find(errorNumber);
|
||||
return it == ErrorNames.end() ? NULL : it->second;
|
||||
|
Reference in New Issue
Block a user