case 500: // M500 save volatile settings to config-override
THEKERNEL->conveyor->wait_for_empty_queue(); //just to be safe as it can take a while to run
+ remove(THEKERNEL->config_override_filename());
// replace stream with one that writes to config-override file
gcode->stream = new AppendFileStream(THEKERNEL->config_override_filename());
// dispatch the M500 here so we can free up the stream when done
STEPPER[Y_AXIS]->move(true, maxz * STEPS_PER_MM(Y_AXIS), 0);
}
- // start acceration processing
+ // start acceleration processing
this->running = true;
bool r = wait_for_probe(steps);
filename = THEKERNEL->config_override_filename();
}
+ remove(filename.c_str());
// replace stream with one that writes to config-override file
AppendFileStream *gs = new AppendFileStream(filename.c_str());
// if(!gs->is_open()) {