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

DropTarget config option max_reset_attempts to retry reset pulses #1611

Merged
merged 1 commit into from
Oct 31, 2021

Conversation

avanwinkle
Copy link
Collaborator

This PR adds a new config option max_reset_attempts to the DropTarget and DropTargetBank devices.

When specified, a drop target or bank will check the state of its switch(es) after the ignore_switch_ms timeout expires. If any switch is still down, the drop bank will retry the pulse to reset the bank. The device will attempt up to the number of times specified in max_reset_attempts before giving up.

@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

@jabdoa2
Copy link
Collaborator

jabdoa2 commented Oct 31, 2021

Nice feature. Had seen this coming up again and again!

@jabdoa2 jabdoa2 self-requested a review October 31, 2021 19:24
@avanwinkle avanwinkle merged commit ab48ceb into missionpinball:dev Oct 31, 2021
@avanwinkle avanwinkle deleted the drop-target-reset-retries 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