|
@@ -963,12 +963,6 @@ G29_TYPE GcodeSuite::G29() {
|
963
|
963
|
|
964
|
964
|
#endif // ABL_PLANAR
|
965
|
965
|
|
966
|
|
- #ifdef Z_PROBE_END_SCRIPT
|
967
|
|
- if (DEBUGGING(LEVELING)) DEBUG_ECHOLNPAIR("Z Probe End Script: ", Z_PROBE_END_SCRIPT);
|
968
|
|
- planner.synchronize();
|
969
|
|
- process_subcommands_now_P(PSTR(Z_PROBE_END_SCRIPT));
|
970
|
|
- #endif
|
971
|
|
-
|
972
|
966
|
// Auto Bed Leveling is complete! Enable if possible.
|
973
|
967
|
planner.leveling_active = dryrun ? abl_should_enable : true;
|
974
|
968
|
} // !isnan(measured_z)
|
|
@@ -985,6 +979,12 @@ G29_TYPE GcodeSuite::G29() {
|
985
|
979
|
move_z_after_probing();
|
986
|
980
|
#endif
|
987
|
981
|
|
|
982
|
+ #ifdef Z_PROBE_END_SCRIPT
|
|
983
|
+ if (DEBUGGING(LEVELING)) DEBUG_ECHOLNPAIR("Z Probe End Script: ", Z_PROBE_END_SCRIPT);
|
|
984
|
+ planner.synchronize();
|
|
985
|
+ process_subcommands_now_P(PSTR(Z_PROBE_END_SCRIPT));
|
|
986
|
+ #endif
|
|
987
|
+
|
988
|
988
|
report_current_position();
|
989
|
989
|
|
990
|
990
|
G29_RETURN(isnan(measured_z));
|