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,6 +2622,10 @@
2622 2622
   #endif
2623 2623
 #endif
2624 2624
 
2625
+#if BUTTONS_EXIST(EN1, EN2, ENC)
2626
+  #define HAS_ROTARY_ENCODER 1
2627
+#endif
2628
+
2625 2629
 #if !NUM_SERIAL
2626 2630
   #undef BAUD_RATE_GCODE
2627 2631
 #elif NUM_SERIAL > 1

Loading…
Cancel
Save