diff --git a/firmware/boards/f0_module/mcuconf.h b/firmware/boards/f0_module/mcuconf.h index 8b88af8..14d0fc2 100644 --- a/firmware/boards/f0_module/mcuconf.h +++ b/firmware/boards/f0_module/mcuconf.h @@ -112,7 +112,7 @@ /* * PWM driver system settings. */ -#define STM32_PWM_USE_ADVANCED FALSE +#define STM32_PWM_USE_ADVANCED TRUE #define STM32_PWM_USE_TIM1 TRUE #define STM32_PWM_USE_TIM2 FALSE #define STM32_PWM_USE_TIM3 TRUE diff --git a/firmware/pwm.cpp b/firmware/pwm.cpp index 97fef61..e61300b 100644 --- a/firmware/pwm.cpp +++ b/firmware/pwm.cpp @@ -23,6 +23,7 @@ void Pwm::Start() {PWM_OUTPUT_ACTIVE_HIGH | PWM_COMPLEMENTARY_OUTPUT_ACTIVE_LOW, nullptr} }, 0, + 0, 0 };