F0 heater was broken by cddcd0d88c

This commit is contained in:
Matthew Kennedy 2023-11-17 18:08:45 -08:00
parent 86d57343b1
commit 99335f90c1
1 changed files with 4 additions and 4 deletions

View File

@ -13,10 +13,10 @@ static const PWMConfig heaterPwmConfig = {
.period = 1024, .period = 1024,
.callback = nullptr, .callback = nullptr,
.channels = { .channels = {
{PWM_OUTPUT_ACTIVE_HIGH, nullptr}, {PWM_OUTPUT_ACTIVE_HIGH | PWM_COMPLEMENTARY_OUTPUT_ACTIVE_LOW, nullptr},
{PWM_OUTPUT_ACTIVE_HIGH, nullptr}, {PWM_OUTPUT_ACTIVE_HIGH | PWM_COMPLEMENTARY_OUTPUT_ACTIVE_LOW, nullptr},
{PWM_OUTPUT_ACTIVE_HIGH, nullptr}, {PWM_OUTPUT_ACTIVE_HIGH | PWM_COMPLEMENTARY_OUTPUT_ACTIVE_LOW, nullptr},
{PWM_OUTPUT_ACTIVE_HIGH, nullptr} {PWM_OUTPUT_ACTIVE_HIGH | PWM_COMPLEMENTARY_OUTPUT_ACTIVE_LOW, nullptr}
}, },
.cr2 = 0, .cr2 = 0,
#if STM32_PWM_USE_ADVANCED #if STM32_PWM_USE_ADVANCED