The setFrequency command doesn't set the correct prescaler and so the frequency, because the prescaler is wrongly computed.
We need to use the m_owner->GetFrequency and not getFrequency(), otherwise we obtain a frequency that is not correct and change according to the prescaler computed.
It seems you are using git cliff, so I've tried to use a correct commit message, tell me if its ok otherwise I can change it.
The setFrequency command doesn't set the correct prescaler and so the frequency, because the prescaler is wrongly computed.
We need to use the
m_owner->GetFrequency
and notgetFrequency()
, otherwise we obtain a frequency that is not correct and change according to the prescaler computed.It seems you are using git cliff, so I've tried to use a correct commit message, tell me if its ok otherwise I can change it.