Prusa MINI Firmware overview
|
Go to the documentation of this file.
24 #include "../inc/MarlinConfigPre.h"
26 #if IS_CORE || EITHER(BABYSTEP_XY, I2C_POSITION_ENCODERS)
27 #define BS_TODO_AXIS(A) A
29 #define BS_TODO_AXIS(A) 0
32 #if ENABLED(BABYSTEP_DISPLAY_TOTAL)
33 #if ENABLED(BABYSTEP_XY)
34 #define BS_TOTAL_AXIS(A) A
36 #define BS_TOTAL_AXIS(A) 0
45 #if ENABLED(BABYSTEP_DISPLAY_TOTAL)
46 static int16_t axis_total[BS_TOTAL_AXIS(
Z_AXIS) + 1];
47 static inline void reset_total(
const AxisEnum axis) {
52 ) axis_total[BS_TOTAL_AXIS(axis)] = 0;
60 static void step_axis(
const AxisEnum axis);
list gcode
Definition: g29_auto.py:44
Stepper stepper
Definition: stepper.cpp:82
AxisEnum
Definition: types.h:36
#define BS_TODO_AXIS(A)
Definition: babystep.h:29
static int16_t accum
Definition: babystep.h:43
#define LOOP_XYZ(VAR)
Definition: types.h:60
float axis_steps_per_mm[XYZE_N]
Definition: planner.h:181
static volatile int16_t steps[BS_TODO_AXIS(Z_AXIS)+1]
Definition: babystep.h:42
uint8_t axis_known_position
Definition: motion.cpp:91
const uint8_t[]
Definition: 404_html.c:3
Definition: babystep.h:40
static void add_mm(const AxisEnum axis, const float &mm)
static planner_settings_t settings
Definition: planner.h:251
static void add_steps(const AxisEnum axis, const int16_t distance)
#define ENABLED(V...)
Definition: macros.h:177
Planner planner
Definition: planner.cpp:111