소스 검색

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

Throw an error if ENCODER_PULSES_PER_STEP < -1
Scott Lahteine 9 년 전
부모
커밋
9e95f30de0
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4
    0
      Marlin/SanityCheck.h

+ 4
- 0
Marlin/SanityCheck.h 파일 보기

@@ -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…
취소
저장