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

Fix custom ch fallthrough #108

Closed
wants to merge 19 commits into from

Conversation

fwiffo
Copy link

@fwiffo fwiffo commented Sep 29, 2024

Resolves #107 by only using the custom 3H function for 3H events.

Configures the assumed temperature (default 21C) when performing thermal
autocalibration during a factory reset.
Allows jump-start to only apply to channels that actually need to be
enabled to avoid an unnecessary flash when entering moonlight mode when
only one channel is on.
This was the behavior in older versions.
This is doing something weird not intended.
Allows tuning different brightness levels to specific color
temperatures.
The fix for ToyKeeper#85 moved the strobe mode event in off-mode.c inside an
ifdef USE_SIMPLE_UI block where they did not belong. Moving them below
that block fixes ToyKeeper#94.
If a light has a custom 3H function specified for a channel, it would
always call the custom function, not just during 3H events. It would
only return if the event was handled by the custom function, but would
fall out of the if/else otherwise, preventing later events from being
handled.

This prevented access to the 9H channel config in HSV modeon the
d4k-3ch, for instance.
@fwiffo
Copy link
Author

fwiffo commented Sep 29, 2024

Sigh, I don't know how to make branches.

@fwiffo fwiffo closed this Sep 29, 2024
@fwiffo fwiffo deleted the fix_custom_ch_fallthrough branch September 29, 2024 01:35
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.

9H to configure channels doesn't work on d4k-3ch or other lights that use custom 3H functions
1 participant