Revert E_AXIS_N cast (#13055)

This commit is contained in:
teemuatlut 2019-01-31 04:55:05 +02:00 committed by Scott Lahteine
parent a1d03fe7ba
commit f0503372d9

View File

@ -428,11 +428,11 @@
*/
#if ENABLED(DISTINCT_E_FACTORS) && E_STEPPERS > 1
#define XYZE_N (XYZ + E_STEPPERS)
#define E_AXIS_N(E) (uint8_t(E_AXIS) + E)
#define E_AXIS_N(E) (E_AXIS + E)
#else
#undef DISTINCT_E_FACTORS
#define XYZE_N XYZE
#define E_AXIS_N(E) uint8_t(E_AXIS)
#define E_AXIS_N(E) E_AXIS
#endif
/**