Browse Source

gcc is forgiving of stray ;

pull/1/head
Scott Lahteine 5 years ago
parent
commit
914605c89c
  1. 3
      Marlin/src/module/motion.h

3
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<T> 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);

Loading…
Cancel
Save