Skip to content

Commit c8cc538

Browse files
committed
Fixed incorrect CCB register value
1 parent ff4b702 commit c8cc538

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SAMD21turboPWM.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ static const PinLookup pinTable[] = {
127127
{ 6, PORTA, 6, 1, &REG_TCC1_CCB0, PORT_PMUX_PMUXE_E},
128128
{ 7, PORTA, 7, 1, &REG_TCC1_CCB1, PORT_PMUX_PMUXO_E},
129129
{ 8, PORTA, 11, 0, &REG_TCC0_CCB3, PORT_PMUX_PMUXO_F}, // alt timer
130-
{ 9, PORTA, 9, 1, &REG_TCC1_CCB3, PORT_PMUX_PMUXO_F}, // alt timer
130+
{ 9, PORTA, 9, 1, &REG_TCC1_CCB1, PORT_PMUX_PMUXO_F}, // alt timer
131131
{10, PORTA, 10, 0, &REG_TCC0_CCB2, PORT_PMUX_PMUXE_F} // alt timer
132132
//Table end
133133

0 commit comments

Comments
 (0)