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

Resolve "PWM-locked" / "phase-locked" waveform merge leftover in Servo lib #7978

Merged
merged 4 commits into from
Apr 17, 2021

Conversation

dok-net
Copy link
Contributor

@dok-net dok-net commented Apr 12, 2021

Fixes #7977.
@earlephilhower Please review carefully, there's a caveat for the PWM-locked mode that I can't decide on.

Copy link
Collaborator

@earlephilhower earlephilhower left a comment

Choose a reason for hiding this comment

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

Can you please add in an check for || (timeHighCycles==0) in :

if ((pin > 16) || isFlashInterfacePin(pin)) {

libraries/Servo/src/Servo.cpp Outdated Show resolved Hide resolved
@earlephilhower earlephilhower merged commit 41de411 into esp8266:master Apr 17, 2021
@dok-net dok-net deleted the servo_waveform branch April 17, 2021 22:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

PWM-locked support not properly working after "PWM/Phase"-locked merge
3 participants