From f88e6bccf41890978435191884991fe9ec02e922 Mon Sep 17 00:00:00 2001 From: "Ben V. Brown" Date: Wed, 15 Sep 2021 21:18:23 +1000 Subject: [PATCH] Update Setup.cpp --- source/Core/BSP/Pine64/Setup.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Core/BSP/Pine64/Setup.cpp b/source/Core/BSP/Pine64/Setup.cpp index 0b683036..96532b85 100644 --- a/source/Core/BSP/Pine64/Setup.cpp +++ b/source/Core/BSP/Pine64/Setup.cpp @@ -274,7 +274,7 @@ void setup_timers() { /* CH0 configured to implement the PWM irq's for the output control*/ timer_channel_output_struct_para_init(&timer_ocintpara); - timer_ocintpara.ocpolarity = TIMER_OC_POLARITY_HIGH; + timer_ocintpara.ocpolarity = TIMER_OC_POLARITY_LOW; timer_ocintpara.outputstate = TIMER_CCX_ENABLE; timer_channel_output_config(TIMER1, TIMER_CH_0, &timer_ocintpara);