From e015576e713eb933acdbe6cff2ced1d5d8fd3268 Mon Sep 17 00:00:00 2001 From: Matthew Kennedy Date: Sat, 3 Dec 2022 02:00:52 -0800 Subject: [PATCH] disable aux out dac PWM primary outputs as it conflicts with serial --- firmware/auxout.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/firmware/auxout.cpp b/firmware/auxout.cpp index 380a78c..e5f4f51 100644 --- a/firmware/auxout.cpp +++ b/firmware/auxout.cpp @@ -21,10 +21,11 @@ static const PWMConfig auxPwmConfig = { 1 << 12, nullptr, { - {PWM_OUTPUT_ACTIVE_HIGH | PWM_COMPLEMENTARY_OUTPUT_ACTIVE_HIGH, nullptr}, - {PWM_OUTPUT_ACTIVE_HIGH | PWM_COMPLEMENTARY_OUTPUT_ACTIVE_HIGH, nullptr}, - {PWM_OUTPUT_ACTIVE_HIGH | PWM_COMPLEMENTARY_OUTPUT_ACTIVE_HIGH, nullptr}, - {PWM_OUTPUT_ACTIVE_HIGH | PWM_COMPLEMENTARY_OUTPUT_ACTIVE_HIGH, nullptr} + // TODO: do any boards use the "primary" outputs instead of the "complementary" outputs? + {/*PWM_OUTPUT_ACTIVE_HIGH |*/ PWM_COMPLEMENTARY_OUTPUT_ACTIVE_HIGH, nullptr}, + {/*PWM_OUTPUT_ACTIVE_HIGH |*/ PWM_COMPLEMENTARY_OUTPUT_ACTIVE_HIGH, nullptr}, + {/*PWM_OUTPUT_ACTIVE_HIGH |*/ PWM_COMPLEMENTARY_OUTPUT_ACTIVE_HIGH, nullptr}, + {/*PWM_OUTPUT_ACTIVE_HIGH |*/ PWM_COMPLEMENTARY_OUTPUT_ACTIVE_HIGH, nullptr} }, 0, 0,