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 channel_gamma compatibility func #1

Closed
wants to merge 1 commit into from

Conversation

waveform80
Copy link
Contributor

Came across some breakage when attempting to use the dothat module with the sn3218 v2 module: specifically that the default_gamma_table attribute isn't available at the module level which breaks dothat.backlight (and I assume dot3k.backlight from the looks of it). When digging into the background I also found this error in the compatibility funcs.

Note this PR doesn't fix the issue with the display-o-tron but I don't think it's actually fixable from this end (I tried using module level data-descriptors to work around it without pre-constructing an instance of SN3218 but that doesn't work as the module isn't a class). I'll post a separate PR to make display-o-tron compatible with both v2 and v1 versions of this module.

@Gadgetoid
Copy link
Member

Merged as part of #2 - thank you!

@Gadgetoid Gadgetoid closed this Feb 15, 2024
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