Skip to content

Conversation

@jaguilar
Copy link
Contributor

We don't need to be able to edit the write buffer in any UART implementation.

Making it const prevents some unneccesary casts in upcoming ev3 btstack uart
block implementation.

@coveralls
Copy link

coveralls commented Oct 21, 2025

Coverage Status

coverage: 59.78%. remained the same
when pulling d04d414 on jaguilar:uart-const
into 2488153 on pybricks:master.

Copy link
Member

@dlech dlech left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. I just noticed some unrelated things that could also be cleaned up in the ev3_pru header.

We don't need to be able to edit the
write buffer in any UART implementation.
Making it const prevents some unnecesary casts
in upcoming ev3 btstack uart block
implementation.
@dlech dlech merged commit 8e71552 into pybricks:master Oct 23, 2025
17 checks passed
@dlech
Copy link
Member

dlech commented Oct 23, 2025

Thanks!

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.

4 participants