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) { }