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: FAST timed_enable hold ms/pwm inverted #1647

Merged

Conversation

avanwinkle
Copy link
Collaborator

This PR fixes a bug for timed_enable pulses on the FAST platform.

The original implementation incorrectly posted the hold PWM argument before the hold duration, but according to the FAST Protocol documentation, the duration should come before the PWM.

[DL/DN]:<DRIVER_ID>,<TRIGGER>,<SWITCH_ID>,<10>,<PWM1_ONTIME>,<PWM1>,<PWM2_ONTIME>,<PWM2>,<REST_TIME><CR>

I don't know why I inverted the values initially, but now they'll be correct.

I was inverted

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

Copy link
Member

@toomanybrians toomanybrians left a comment

Choose a reason for hiding this comment

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

looks good, thanks! I'll do another dev version bump in a few days when I merge in the new installer stuff and then we'll get that on on pypi.

@toomanybrians toomanybrians merged commit 4623085 into missionpinball:dev Aug 11, 2022
@avanwinkle avanwinkle deleted the bugfix-fast-driver-pulse-and-hold branch December 4, 2023 23:32
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