Skip to content

Commit 658ed97

Browse files
committed
ODROID-C5: pwm: fix "config pwm dtb overlays"
Signed-off-by: YoungSoo Shin <shinys000114@gmail.com> Change-Id: I64840ede68cd71966d8696ccccf091e88e16f9b2
1 parent 02877a9 commit 658ed97

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

wiringPi/odroidc5.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,10 +104,10 @@ static const char *pinToPwm[64] = {
104104

105105
static const int pinToPwmNum[64] = {
106106
// wiringPi number to pwm pin number
107-
-1, -1, // 0 | 1
107+
-1, 1, // 0 | 1
108108
-1, -1, // 2 | 3
109109
-1, 0, // 4 | 5 : , PWM_C
110-
1, 2, // 6 | 7 : PWM_A, PWM_B
110+
-1, 2, // 6 | 7 : PWM_A, PWM_B
111111
-1, -1, // 8 | 9
112112
-1, 3, // 10 | 11 : , PWM_F
113113
-1, -1, // 12 | 13

0 commit comments

Comments
 (0)