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

Add check for setting new_polarity to ch_polarity #12

Merged
merged 3 commits into from May 3, 2019

Conversation

Projects
None yet
2 participants
@JasperOosterbroek
Copy link
Contributor

commented May 2, 2019

Add a check that prevents changing the polarity when the current polarity is the new polarity. This will prevent unwanted behavior.

JasperOosterbroek added some commits May 2, 2019

Add check for setting new_polarity to ch_polarity
Add a check that prevents changing the polarity when the current polarity is the new polarity. This will prevent unwanted behavior.
Show resolved Hide resolved code/src/pwm.cpp Outdated

@JasperOosterbroek JasperOosterbroek merged commit 760f813 into master May 3, 2019

1 check passed

Travis CI - Pull Request Build Passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.