Browse Source

Add HAS_ROTARY_ENCODER

Scott Lahteine 4 years ago
parent
commit
4f73ac7289
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      Marlin/src/inc/Conditionals_post.h

+ 4
- 0
Marlin/src/inc/Conditionals_post.h View File

2622
   #endif
2622
   #endif
2623
 #endif
2623
 #endif
2624
 
2624
 
2625
+#if BUTTONS_EXIST(EN1, EN2, ENC)
2626
+  #define HAS_ROTARY_ENCODER 1
2627
+#endif
2628
+
2625
 #if !NUM_SERIAL
2629
 #if !NUM_SERIAL
2626
   #undef BAUD_RATE_GCODE
2630
   #undef BAUD_RATE_GCODE
2627
 #elif NUM_SERIAL > 1
2631
 #elif NUM_SERIAL > 1

Loading…
Cancel
Save