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

arch/arm64/src/imx9/imx9_flexio_pwm.c: Fix wrong input scale #12059

Merged
merged 1 commit into from
Apr 7, 2024

Conversation

jlaitine
Copy link
Contributor

@jlaitine jlaitine commented Apr 5, 2024

Summary

This error was left in the original PR, I messed up with re-basing patches accross branches. The duty cycle is a 16.16 fixed point integer (ub16) between 0-1.

Impact

Testing

Tested with logic analyzer & i.MX93EVK board.

@jlaitine
Copy link
Contributor Author

jlaitine commented Apr 6, 2024

For now, just re-based to pass the CI, which had problems yesterday. I can update to ub16 macros next week if needed, but I don't like those macros for several reasons (mainly because they hide the math behind incomprehensible macros).

…e width

Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
@xiaoxiang781216 xiaoxiang781216 merged commit 5e56409 into apache:master Apr 7, 2024
26 checks passed
@jerpelea jerpelea added this to To-Add in Release Notes - 12.5.1 Apr 8, 2024
@jerpelea jerpelea moved this from To-Add to Not Applicable in Release Notes - 12.5.1 Apr 8, 2024
@jlaitine jlaitine deleted the imx9_flexio_pwm_fix_scale branch April 17, 2024 06:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

4 participants