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

Bugfix: corrects the ARR calculation for the LED PWM timer #7964

Merged
merged 1 commit into from
Sep 14, 2017

Conversation

ksschwabe
Copy link
Contributor

The calculation of the ARR on the LED PWM timer did not subtract 1
from the timer period calculation to get the ARR value.

@davids5: I went and looked for other ARR calculations and found this one in the LED PWM driver - This is the same error that we fixed in the PWM driver (PR #7952).

The calculation of the ARR on the LED PWM timer did not subtract 1
from the timer period calculation to get the ARR value.
Copy link
Member

@davids5 davids5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ksschwabe - thank you!

@davids5 davids5 merged commit 6d1aa4c into PX4:master Sep 14, 2017
@ksschwabe ksschwabe deleted the bugfix_led_pwm_timer_arr_calculation branch September 14, 2017 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants