[2.0] Fix M48 for delta printers/ABL compile issue (#8286)

* fix M48 for delta printers

fix M48 for delta printers. home printer if not already homed.

* remove ENABLED(DELTA)

remove ENABLED(DELTA) as it is not needed.

* Update M48.cpp

* abl needs queue.h

without queue.h abl will not compile since there is a script that runs at the end of it and we need to queue it up.
2.0.x
Colten Edwards 7 years ago committed by Scott Lahteine
parent 776cb52629
commit a6160916b0

@ -34,6 +34,7 @@
#include "../../../module/planner.h"
#include "../../../module/stepper.h"
#include "../../../module/probe.h"
#include "../../queue.h"
#if ENABLED(LCD_BED_LEVELING) && ENABLED(PROBE_MANUALLY)
#include "../../../lcd/ultralcd.h"

@ -28,9 +28,9 @@
#include "../../module/motion.h"
#include "../../module/probe.h"
#if DISABLED(DELTA)
#include "../../feature/bedlevel/bedlevel.h"
#endif
#include "../../feature/bedlevel/bedlevel.h"
#if HAS_LEVELING
#include "../../module/planner.h"
@ -49,10 +49,7 @@
* L = Number of legs of movement before probe
* S = Schizoid (Or Star if you prefer)
*
* This function assumes the bed has been homed. Specifically, that a G28 command
* as been issued prior to invoking the M48 Z probe repeatability measurement function.
* Any information generated by a prior G29 Bed leveling command will be lost and need to be
* regenerated.
* This function requires the machine to be homed before invocation.
*/
void GcodeSuite::M48() {

Loading…
Cancel
Save