Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Correct the setFrequency command #117

Merged
merged 3 commits into from
Jan 12, 2024

Conversation

agaget
Copy link
Contributor

@agaget agaget commented Jan 11, 2024

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.

image

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.

@jerzyjamroz
Copy link
Contributor

@agaget , please review: agaget#1

perf: Slightly better accuracy.
@agaget
Copy link
Contributor Author

agaget commented Jan 12, 2024

@agaget , please review: agaget#1

done

@jerzyjamroz jerzyjamroz added fix and removed bug labels Jan 12, 2024
@jerzyjamroz jerzyjamroz merged commit 50dc177 into epics-modules:master Jan 12, 2024
11 checks passed
@agaget agaget deleted the correctFrequencySet branch January 19, 2024 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants