Skip to content

uc8151: fix LUT timing calculations - #884

Merged
deadprogram merged 1 commit into
devfrom
fix-uc8151-lut-timing
Aug 21, 2026
Merged

uc8151: fix LUT timing calculations#884
deadprogram merged 1 commit into
devfrom
fix-uc8151-lut-timing

Conversation

@jakebailey

Copy link
Copy Markdown
Member

I hit a few bugs while testing out the Badger 2040 W that @deadprogram gave me at GopherCon :)

The LUT timing calculations had a few small Python-to-Go translation errors (** vs ^, // vs %, and a boundary condition). In particular, FAST caused a divide-by-zero panic.

Tested on the actual badge with fast, flicker-free page updates.

@deadprogram

Copy link
Copy Markdown
Member

Thank you for the fix @jakebailey now merging.

@deadprogram
deadprogram merged commit be556a9 into dev Aug 21, 2026
1 check passed
@deadprogram
deadprogram deleted the fix-uc8151-lut-timing branch August 21, 2026 11:11
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