Prusa MINI Firmware overview
|
Go to the documentation of this file.
24 #include "../inc/MarlinConfigPre.h"
25 #include "../core/types.h"
32 #if ENABLED(SERIAL_OVERRUN_PROTECTION)
39 #if GRID_MAX_POINTS_X && GRID_MAX_POINTS_Y
42 template <
int W,
int H>
45 void fill() { memset(bits, 0xFF,
sizeof(bits)); }
46 void reset() { memset(bits, 0x00,
sizeof(bits)); }
50 inline void unmark(
const xy_int8_t &xy) { unmark(xy.
y, xy.
x); }
51 inline void mark(
const xy_int8_t &xy) { mark(xy.
y, xy.
x); }
52 inline bool marked(
const xy_int8_t &xy) {
return marked(xy.
y, xy.
x); }
55 typedef FlagBits<GRID_MAX_POINTS_X, GRID_MAX_POINTS_Y> MeshFlags;
59 #if ENABLED(DEBUG_LEVELING_FEATURE)
62 #define log_machine_info() NOOP
71 restorer(T& perm, T temp_val) : ref_(perm), val_(perm) { perm = temp_val; }
76 #define REMEMBER(N,X,V...) const restorer<typeof(X)> restorer_##N(X, ##V)
77 #define RESTORE(N) restorer_##N.restore()
T z
Definition: types.h:286
#define SERIAL_CHAR(x)
Definition: serial.h:69
T z
Definition: types.h:383
#define SERIAL_ECHO(x)
Definition: serial.h:70
void safe_delay(millis_t ms)
Definition: utility.cpp:28
T x
Definition: types.h:286
static float get_z(const xy_pos_t &pos)
Definition: mesh_bed_leveling.h:107
#define HAS_Z_SERVO_PROBE
Definition: Conditionals_LCD.h:495
constexpr xyz_pos_t probe_offset
Definition: probe.h:58
const char * ftostr43sign(const float &f, char plus)
Definition: numtostr.cpp:231
static float get_axis_position_mm(const AxisEnum axis)
Definition: planner.cpp:1526
static bool leveling_active
Definition: planner.h:276
#define SERIAL_ECHOPAIR(V...)
Definition: serial.h:114
uint8_t type
Definition: UsbCore.h:184
uint8_t i
Definition: screen_test_graph.c:72
AxisEnum
Definition: types.h:36
static void manage_heater() _O2
Definition: temperature.cpp:975
#define IS_CORE
Definition: Conditionals_post.h:104
#define AUTO_BED_LEVELING_BILINEAR
Definition: Configuration_A3ides_2209_MINI.h:1092
restorer(T &perm)
Definition: utility.h:70
xyze_pos_t current_position
Definition: motion.cpp:102
#define LOOP_XYZ(VAR)
Definition: types.h:60
#define SERIAL_ECHOPGM(S)
Definition: serial.h:173
void restore()
Definition: utility.h:73
#define SERIAL_ECHOLNPAIR(V...)
Definition: serial.h:144
list a
Definition: createSpeedLookupTable.py:29
static float get_z_correction(const float &rx0, const float &ry0)
Definition: ubl.h:238
T x
Definition: types.h:185
restorer(T &perm, T temp_val)
Definition: utility.h:71
#define FIX_MOUNTED_PROBE
Definition: Configuration_A3ides_2209_MINI.h:798
~restorer()
Definition: utility.h:72
const uint8_t[]
Definition: 404_html.c:3
float bilinear_z_offset(const xy_pos_t &raw)
T y
Definition: types.h:286
void delay(uint32_t ms)
Definition: wiring_time.c:42
#define IS_SCARA
Definition: Conditionals_LCD.h:544
#define CBI(A, B)
Definition: macros.h:89
constexpr uint8_t ui8_to_percent(const uint8_t i)
Definition: utility.h:81
static FORCE_INLINE float fade_scaling_factor_for_z(const float &)
Definition: planner.h:445
#define SERIAL_EOL()
Definition: serial.h:181
#define TEST(n, b)
Definition: macros.h:81
T y
Definition: types.h:185
#define log_machine_info()
Definition: utility.h:62
void safe_delay(millis_t ms)
Definition: utility.cpp:28
void serial_delay(const millis_t ms)
Definition: utility.h:31
#define SBI(A, B)
Definition: macros.h:85
#define SERIAL_ECHOLNPGM(S)
Definition: serial.h:174
Temperature thermalManager
Definition: temperature.cpp:89
#define UNUSED(X)
Definition: stm32f4xx_hal_def.h:74
uint32_t millis_t
Definition: millis_t.h:26
#define ENABLED(V...)
Definition: macros.h:177
Planner planner
Definition: planner.cpp:111