Преглед на файлове

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…
Отказ
Запис