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

Misc fixes: no match, timed_enable_events, FAST Nano RGB #1760

Merged
merged 1 commit into from
Feb 22, 2024

Conversation

avanwinkle
Copy link
Collaborator

This PR contains a few miscellaneous fixes I've collected recently.

No Match Option

This PR changes the label of a 0% match possibility from "off" to "Never", which more accurately clarifies the no-chance-of-match and avoids ambiguity of Match mode being disabled versus enabled but never going to match.

Timed Enable Events

This PR adds a config option for timed_enable_events for coils that support timed enable pulses. The coil code itself already supports timed_enable events, but without them in the config spec they could never be triggered. This change adds this option to the spec.

Fast NANO RGB

The recent refactor of FAST interface code by @toomanybrians includes improvements to the startup and reset flows. Unfortunately the legacy Nano RGB controller can have trouble with the reset command when processing other shows, leading to hangs. This PR changes the reset command for the Nano RGB controller to be fire-and-forget instead of wait-for-confirmation, to avoid hangs for the few users (probably just me) using the latest MPF with a legacy board.

Bonus Calculation Comment

I misread the logic of the bonus score calculation and regressed the behavior, until I more carefully parsed the code and realized my mistake. This PR adds a detailed comment on how that calculation works, to avoid this mishap in the future.

hello

Copy link

Quality Gate Passed Quality Gate passed

Issues
0 New issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@avanwinkle avanwinkle merged commit d93655c into missionpinball:dev Feb 22, 2024
14 checks passed
@avanwinkle avanwinkle deleted the misc-fixes branch February 22, 2024 16:40
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.

1 participant