Use bit flags for homed/known

This commit is contained in:
Scott Lahteine
2018-06-11 21:42:39 -05:00
parent 4ed92f838f
commit 4bc5e9341e
7 changed files with 50 additions and 46 deletions

View File

@@ -505,7 +505,7 @@ class Temperature {
#if ENABLED(BABYSTEPPING)
static void babystep_axis(const AxisEnum axis, const int16_t distance) {
if (axis_known_position[axis]) {
if (TEST(axis_known_position, axis)) {
#if IS_CORE
#if ENABLED(BABYSTEP_XY)
switch (axis) {