[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.
This commit is contained in:
parent
776cb52629
commit
a6160916b0
@ -34,6 +34,7 @@
|
|||||||
#include "../../../module/planner.h"
|
#include "../../../module/planner.h"
|
||||||
#include "../../../module/stepper.h"
|
#include "../../../module/stepper.h"
|
||||||
#include "../../../module/probe.h"
|
#include "../../../module/probe.h"
|
||||||
|
#include "../../queue.h"
|
||||||
|
|
||||||
#if ENABLED(LCD_BED_LEVELING) && ENABLED(PROBE_MANUALLY)
|
#if ENABLED(LCD_BED_LEVELING) && ENABLED(PROBE_MANUALLY)
|
||||||
#include "../../../lcd/ultralcd.h"
|
#include "../../../lcd/ultralcd.h"
|
||||||
|
@ -28,9 +28,9 @@
|
|||||||
#include "../../module/motion.h"
|
#include "../../module/motion.h"
|
||||||
#include "../../module/probe.h"
|
#include "../../module/probe.h"
|
||||||
|
|
||||||
#if DISABLED(DELTA)
|
|
||||||
#include "../../feature/bedlevel/bedlevel.h"
|
#include "../../feature/bedlevel/bedlevel.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#if HAS_LEVELING
|
#if HAS_LEVELING
|
||||||
#include "../../module/planner.h"
|
#include "../../module/planner.h"
|
||||||
@ -49,10 +49,7 @@
|
|||||||
* L = Number of legs of movement before probe
|
* L = Number of legs of movement before probe
|
||||||
* S = Schizoid (Or Star if you prefer)
|
* S = Schizoid (Or Star if you prefer)
|
||||||
*
|
*
|
||||||
* This function assumes the bed has been homed. Specifically, that a G28 command
|
* This function requires the machine to be homed before invocation.
|
||||||
* 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.
|
|
||||||
*/
|
*/
|
||||||
void GcodeSuite::M48() {
|
void GcodeSuite::M48() {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user