Fix homing and leveling
- Include the current Z when raising the axis after and between probing - Add `sync_plan_position_delta` for parity with `sync_plan_position` - Clean up and clarify `M48`, `dock_sled`, and others
This commit is contained in:
parent
be593b600b
commit
18bb6be80e
3 changed files with 148 additions and 152 deletions
|
|
@ -4,6 +4,10 @@
|
|||
*/
|
||||
#ifndef CONDITIONALS_H
|
||||
|
||||
#ifndef M_PI
|
||||
#define M_PI 3.1415926536
|
||||
#endif
|
||||
|
||||
#ifndef CONFIGURATION_LCD // Get the LCD defines which are needed first
|
||||
|
||||
#define CONFIGURATION_LCD
|
||||
|
|
@ -252,7 +256,7 @@
|
|||
* Advance calculated values
|
||||
*/
|
||||
#ifdef ADVANCE
|
||||
#define EXTRUSION_AREA (0.25 * D_FILAMENT * D_FILAMENT * 3.14159)
|
||||
#define EXTRUSION_AREA (0.25 * D_FILAMENT * D_FILAMENT * M_PI)
|
||||
#define STEPS_PER_CUBIC_MM_E (axis_steps_per_unit[E_AXIS] / EXTRUSION_AREA)
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue