Browse Source

Merge pull request #3495 from jbrazio/bugfix/followup-3485

Throw an error if ENCODER_PULSES_PER_STEP < -1
Scott Lahteine 8 years ago
parent
commit
9e95f30de0
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      Marlin/SanityCheck.h

+ 4
- 0
Marlin/SanityCheck.h View File

@@ -290,6 +290,10 @@
290 290
   #error ULTIPANEL requires some kind of encoder.
291 291
 #endif
292 292
 
293
+#if ENCODER_PULSES_PER_STEP < 0
294
+  #error ENCODER_PULSES_PER_STEP should not be negative, use REVERSE_MENU_DIRECTION instead
295
+#endif
296
+
293 297
 /**
294 298
  * Delta has limited bed leveling options
295 299
  */

Loading…
Cancel
Save