glasses mapping condition

Co-authored-by: Mark <56205165+gamblor21@users.noreply.github.com>
This commit is contained in:
foamyguy 2023-02-01 19:10:35 -06:00 committed by GitHub
parent 57ed59508e
commit 9282b231de
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -243,7 +243,8 @@ class IS31FL3741:
:return: None
"""
for pos, data in enumerate(buffer):
self[mapping[pos]] = data
if mapping[pos] != 65535:
self[mapping[pos]] = data
self.show()