Skip to content

uart: Fix TX write_byte#34

Merged
kurtjd merged 1 commit into
mainfrom
uart-write-fix
Feb 19, 2026
Merged

uart: Fix TX write_byte#34
kurtjd merged 1 commit into
mainfrom
uart-write-fix

Conversation

@kurtjd

@kurtjd kurtjd commented Feb 19, 2026

Copy link
Copy Markdown
Owner

UART write_byte was originally doing a modify, but this has the side-effect of first reading from the data reg, which will drain a byte from the RX FIFO which we don't want. Instead we just do a write because the upper 24 bits are read-only.

@kurtjd kurtjd self-assigned this Feb 19, 2026
@kurtjd kurtjd merged commit 3cb1ff7 into main Feb 19, 2026
5 checks passed
@kurtjd kurtjd deleted the uart-write-fix branch February 19, 2026 03:40
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