Fix core babystep compile

This commit is contained in:
Scott Lahteine 2020-06-16 13:48:14 -05:00
parent 2603a237f9
commit 51be595573

View file

@ -2802,7 +2802,9 @@ void Stepper::report_positions() {
EXTRA_DIR_WAIT_AFTER(); \ EXTRA_DIR_WAIT_AFTER(); \
}while(0) }while(0)
#elif IS_CORE #endif
#if IS_CORE
#define BABYSTEP_CORE(A, B, INV, DIR, ALT) do{ \ #define BABYSTEP_CORE(A, B, INV, DIR, ALT) do{ \
const xy_byte_t old_dir = { _READ_DIR(A), _READ_DIR(B) }; \ const xy_byte_t old_dir = { _READ_DIR(A), _READ_DIR(B) }; \