mirror of
https://github.com/bdring/Grbl_Esp32.git
synced 2025-08-31 18:11:48 +02:00
Added fallback to AP. Useful for current YAML testing
This commit is contained in:
@@ -447,6 +447,12 @@ void MachineConfig::afterParse() {
|
||||
_comms = new Communications();
|
||||
_comms->_apConfig = new WifiAPConfig();
|
||||
}
|
||||
// This is very helpful for testing YAML config files. If things
|
||||
// screw up, you can still connect and upload a new config.yaml
|
||||
// TODO - Consider whether we want this for the long term
|
||||
if (!_comms->_apConfig) {
|
||||
_comms->_apConfig = new WifiAPConfig();
|
||||
}
|
||||
}
|
||||
|
||||
size_t MachineConfig::readFile(const char* filename, char*& buffer) {
|
||||
|
Reference in New Issue
Block a user