Skip to content

fix(boot): fill the boot-screen swatches on BWR/BWY panels - #149

Merged
jonasniesner merged 1 commit into
OpenDisplay:mainfrom
parkghost:fix/bwr-boot-swatch
Aug 10, 2026
Merged

fix(boot): fill the boot-screen swatches on BWR/BWY panels#149
jonasniesner merged 1 commit into
OpenDisplay:mainfrom
parkghost:fix/bwr-boot-swatch

Conversation

@parkghost

@parkghost parkghost commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

Fixes #148.

The boot screen's footer swatches skipped their interior fill on B/W/R and
B/W/Y configs, so the black swatch rendered as an empty outlined box.

The fill was gated behind !useBitplanes. The guard is unnecessary: swatch
codes go through setBootPixelCode(), which at 1 bpp already clears the bit
for code 0 and sets it for code 1 — exactly the black and white the B/W
plane needs. The coloured swatch never reaches this path at all;
colorPlanePass paints it on PLANE_1 and continues.

Verified on P750057-MF1-A 7.5" B/W/R panel

IMG_20260810_192910

The footer swatches advertise the colors a panel can produce, but on a
bitplane scheme the black one rendered as an empty outlined box.

The interior fill was skipped for BWR/BWY by an `!useBitplanes` guard. The
guard is unnecessary: swatch codes reach setBootPixelCode(), which at 1 bpp
already clears the bit for code 0 and sets it for code 1 — exactly the black
and white the B/W plane needs. The colored swatch never reaches this path at
all; colorPlanePass paints it on PLANE_1 and continues.
@jonasniesner
jonasniesner merged commit 64184bb into OpenDisplay:main Aug 10, 2026
12 checks passed
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.

Boot screen: black colour swatch renders as an empty outline on B/W/R panels

2 participants