Skip to content

DMX slot watch: watch one decoded line only (#80 follow-up) - #87

Merged
larszu merged 1 commit into
mainfrom
fix/80-dmx-watch-one-line
Nov 29, 2026
Merged

larszu merged 1 commit into
mainfrom
fix/80-dmx-watch-one-line

Conversation

@larszu

@larszu larszu commented Nov 29, 2026

Copy link
Copy Markdown
Owner

Review follow-up to #84 (already merged).

parseDmx concatenates packets per line (byLine → flatMap), so with two decoded lines the slot watch mixed two universes: interleaved levels flagged as spikes on every packet, and a non-monotonic x array for uPlot at the seam. The watch now keeps the line of the newest NULL-START packet (the one the slot grid shows) and notes how many other lines were left out. New checks in scripts/check-logic.mts.

Gates: npm run build, npm run check (1136 logic checks), npx fallow pass.

🤖 Generated with Claude Code

https://claude.ai/code/session_012p9w1YRZ9ddomxdA5eZWvJ

parseDmx lists packets line after line, so with two decoded lines the
watch interleaved two universes (a spike on every packet) and handed
uPlot a time axis that ran backwards at the seam. Watch the line of the
newest level packet, the one the slot grid shows, and say how many
lines were left out.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012p9w1YRZ9ddomxdA5eZWvJ
@larszu
larszu merged commit 3fbef59 into main Nov 29, 2026
1 check passed
@larszu larszu mentioned this pull request Nov 29, 2026
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.

1 participant