mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-25 04:48:31 +00:00
General cleanup
This commit is contained in:
parent
24f0c9da11
commit
02eb4bd806
@ -28,7 +28,9 @@
|
|||||||
* M997: Perform in-application firmware update
|
* M997: Perform in-application firmware update
|
||||||
*/
|
*/
|
||||||
void GcodeSuite::M997() {
|
void GcodeSuite::M997() {
|
||||||
|
|
||||||
flashFirmware(parser.intval('S'));
|
flashFirmware(parser.intval('S'));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -2517,8 +2517,7 @@ void MarlinSettings::reset() {
|
|||||||
#if HAS_PROBE_XY_OFFSET
|
#if HAS_PROBE_XY_OFFSET
|
||||||
LOOP_XYZ(a) probe.offset[a] = dpo[a];
|
LOOP_XYZ(a) probe.offset[a] = dpo[a];
|
||||||
#else
|
#else
|
||||||
probe.offset.x = probe.offset.y = 0;
|
probe.offset.set(0, 0, dpo[Z_AXIS]);
|
||||||
probe.offset.z = dpo[Z_AXIS];
|
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user