Skip to content
Snippets Groups Projects
Unverified Commit 5bd23db0 authored by Bob-the-Kuhn's avatar Bob-the-Kuhn Committed by GitHub
Browse files

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

[2.0.x] fix USEABLE_HARDWARE_PWM for DUE
parents 571ca728 c6e01ebd
No related branches found
No related tags found
No related merge requests found
......@@ -45,7 +45,7 @@
// Due has 12 PWMs assigned to logical pins 2-13.
// 6, 7, 8 & 9 come from the PWM controller. The others come from the timers.
#define USEABLE_HARDWARE_PWM(p) ((2 >= p) && (p <= 13))
#define USEABLE_HARDWARE_PWM(p) ((2 <= p) && (p <= 13))
#ifndef MASK
#define MASK(PIN) (1 << PIN)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment