Skip to content

Commit 22efce9

Browse files
committed
fix backlight timer PWM
1 parent 54768ab commit 22efce9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

variants/pybadge_m4/variant.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ const PinDescription g_APinDescription[]=
107107
{ PORTA, 0, PIO_DIGITAL, PIN_ATTR_PWM_E, No_ADC_Channel, TC2_CH0, TC2_CH0, EXTERNAL_INT_0 }, // D46 TFT RST
108108

109109
// 47 - backlight
110-
{ PORTA, 1, PIO_SERCOM_ALT, PIN_ATTR_DIGITAL, No_ADC_Channel, NOT_ON_PWM, NOT_ON_TIMER, EXTERNAL_INT_1 }, // D47 TFT BACKLITE
110+
{ PORTA, 1, PIO_DIGITAL, PIN_ATTR_PWM_E, No_ADC_Channel, TC2_CH1, TC2_CH1, EXTERNAL_INT_1 }, // D47 TFT BACKLITE
111111

112112
// 48 - button control
113113
{ PORTB, 31, PIO_DIGITAL, PIN_ATTR_DIGITAL, No_ADC_Channel, NOT_ON_PWM, NOT_ON_TIMER, EXTERNAL_INT_15 }, // D48 button clock

0 commit comments

Comments
 (0)