소스 검색

Merge pull request #9351 from Bob-the-Kuhn/Fix-USEABLE_HARDWARE_PWM-for-Due

[2.0.x] fix USEABLE_HARDWARE_PWM for DUE
Bob-the-Kuhn 7 년 전
부모
커밋
5bd23db0ee
No account linked to committer's email address
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      Marlin/src/HAL/HAL_DUE/fastio_Due.h

+ 1
- 1
Marlin/src/HAL/HAL_DUE/fastio_Due.h 파일 보기

@@ -45,7 +45,7 @@
45 45
 
46 46
 // Due has 12 PWMs assigned to logical pins 2-13.
47 47
 // 6, 7, 8 & 9 come from the PWM controller. The others come from the timers.
48
-#define USEABLE_HARDWARE_PWM(p) ((2 >= p) && (p <= 13))
48
+#define USEABLE_HARDWARE_PWM(p) ((2 <= p) && (p <= 13))
49 49
 
50 50
 #ifndef MASK
51 51
   #define MASK(PIN)  (1 << PIN)

Loading…
취소
저장