From 7a9432177399deab0038400bd663f42077e7204e Mon Sep 17 00:00:00 2001 From: Matthew Kennedy Date: Mon, 26 Oct 2020 11:26:31 -0700 Subject: [PATCH] fix pwm --- firmware/pwm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/pwm.cpp b/firmware/pwm.cpp index db7a224..4bb546e 100644 --- a/firmware/pwm.cpp +++ b/firmware/pwm.cpp @@ -5,7 +5,7 @@ Pwm::Pwm(PWMDriver& driver, uint8_t channel, uint32_t counterFrequency, uint32_t counterPeriod) : m_driver(&driver) , m_channel(channel) - , m_counterFrequency(m_counterFrequency) + , m_counterFrequency(counterFrequency) , m_counterPeriod(counterPeriod) { }