General cleanup

This commit is contained in:
Scott Lahteine 2020-07-27 18:09:52 -05:00
parent fd646d0d66
commit 97cb0a8c3e
2 changed files with 3 additions and 2 deletions

View File

@ -28,7 +28,9 @@
* M997: Perform in-application firmware update
*/
void GcodeSuite::M997() {
flashFirmware(parser.intval('S'));
}
#endif

View File

@ -2517,8 +2517,7 @@ void MarlinSettings::reset() {
#if HAS_PROBE_XY_OFFSET
LOOP_XYZ(a) probe.offset[a] = dpo[a];
#else
probe.offset.x = probe.offset.y = 0;
probe.offset.z = dpo[Z_AXIS];
probe.offset.set(0, 0, dpo[Z_AXIS]);
#endif
#endif