diff --git a/Marlin/src/module/motion.h b/Marlin/src/module/motion.h index 5e07f710d..8b9775ce9 100644 --- a/Marlin/src/module/motion.h +++ b/Marlin/src/module/motion.h @@ -112,8 +112,7 @@ FORCE_INLINE signed char pgm_read_any(const signed char *p) { return pgm_read_by #define XYZ_DEFS(T, NAME, OPT) \ extern const XYZval NAME##_P; \ - FORCE_INLINE T NAME(AxisEnum axis) { return pgm_read_any(&NAME##_P[axis]); } \ - typedef void __void_##OPT##__ /* for semicolon */ + FORCE_INLINE T NAME(AxisEnum axis) { return pgm_read_any(&NAME##_P[axis]); } XYZ_DEFS(float, base_min_pos, MIN_POS); XYZ_DEFS(float, base_max_pos, MAX_POS);