Add HAS_ROTARY_ENCODER

This commit is contained in:
Scott Lahteine 2020-09-20 19:08:08 -05:00
parent ee1232051c
commit 32cd5a3dc4

View File

@ -2622,6 +2622,10 @@
#endif #endif
#endif #endif
#if BUTTONS_EXIST(EN1, EN2, ENC)
#define HAS_ROTARY_ENCODER 1
#endif
#if !NUM_SERIAL #if !NUM_SERIAL
#undef BAUD_RATE_GCODE #undef BAUD_RATE_GCODE
#elif NUM_SERIAL > 1 #elif NUM_SERIAL > 1