mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-07-06 22:47:27 -06:00
🎨 May 13 code format
This commit is contained in:
parent
5a88a80690
commit
eaa836b6fc
2 changed files with 11 additions and 11 deletions
|
@ -141,11 +141,11 @@ inline int8_t pgm_read_any(const int8_t *p) { return TERN(__IMXRT1062__, *p, pgm
|
||||||
static const XYZval<T> NAME##_P DEFS_PROGMEM = NUM_AXIS_ARRAY(X_##OPT, Y_##OPT, Z_##OPT, I_##OPT, J_##OPT, K_##OPT, U_##OPT, V_##OPT, W_##OPT); \
|
static const XYZval<T> NAME##_P DEFS_PROGMEM = NUM_AXIS_ARRAY(X_##OPT, Y_##OPT, Z_##OPT, I_##OPT, J_##OPT, K_##OPT, U_##OPT, V_##OPT, W_##OPT); \
|
||||||
return pgm_read_any(&NAME##_P[axis]); \
|
return pgm_read_any(&NAME##_P[axis]); \
|
||||||
}
|
}
|
||||||
XYZ_DEFS(float, base_min_pos, MIN_POS);
|
XYZ_DEFS(float, base_min_pos, MIN_POS); // base_min_pos(axis)
|
||||||
XYZ_DEFS(float, base_max_pos, MAX_POS);
|
XYZ_DEFS(float, base_max_pos, MAX_POS); // base_max_pos(axis)
|
||||||
XYZ_DEFS(float, base_home_pos, HOME_POS);
|
XYZ_DEFS(float, base_home_pos, HOME_POS); // base_home_pos(axis)
|
||||||
XYZ_DEFS(float, max_length, MAX_LENGTH);
|
XYZ_DEFS(float, max_length, MAX_LENGTH); // max_length(axis)
|
||||||
XYZ_DEFS(int8_t, home_dir, HOME_DIR);
|
XYZ_DEFS(int8_t, home_dir, HOME_DIR); // home_dir(axis)
|
||||||
|
|
||||||
// Flags for rotational axes
|
// Flags for rotational axes
|
||||||
constexpr AxisFlags rotational{0 LOGICAL_AXIS_GANG(
|
constexpr AxisFlags rotational{0 LOGICAL_AXIS_GANG(
|
||||||
|
|
|
@ -373,12 +373,12 @@ typedef struct PlannerSettings {
|
||||||
#undef _DLIM
|
#undef _DLIM
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
feedRate_t max_feedrate_mm_s[DISTINCT_AXES]; // (mm/s) M203 XYZE - Max speeds
|
feedRate_t max_feedrate_mm_s[DISTINCT_AXES]; // (mm/s) M203 XYZE - Max speeds
|
||||||
float acceleration, // (mm/s^2) M204 S - Normal acceleration. DEFAULT ACCELERATION for all printing moves.
|
float acceleration, // (mm/s^2) M204 S - Normal acceleration. DEFAULT ACCELERATION for all printing moves.
|
||||||
retract_acceleration, // (mm/s^2) M204 R - Retract acceleration. Filament pull-back and push-forward while standing still in the other axes
|
retract_acceleration, // (mm/s^2) M204 R - Retract acceleration. Filament pull-back and push-forward while standing still in the other axes
|
||||||
travel_acceleration; // (mm/s^2) M204 T - Travel acceleration. DEFAULT ACCELERATION for all NON printing moves.
|
travel_acceleration; // (mm/s^2) M204 T - Travel acceleration. DEFAULT ACCELERATION for all NON printing moves.
|
||||||
feedRate_t min_feedrate_mm_s, // (mm/s) M205 S - Minimum linear feedrate
|
feedRate_t min_feedrate_mm_s, // (mm/s) M205 S - Minimum linear feedrate
|
||||||
min_travel_feedrate_mm_s; // (mm/s) M205 T - Minimum travel feedrate
|
min_travel_feedrate_mm_s; // (mm/s) M205 T - Minimum travel feedrate
|
||||||
} planner_settings_t;
|
} planner_settings_t;
|
||||||
|
|
||||||
#if ENABLED(IMPROVE_HOMING_RELIABILITY)
|
#if ENABLED(IMPROVE_HOMING_RELIABILITY)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue