Skip to content

Conversation

@aperea-cc
Copy link
Contributor

The ADC shell was showing incorrect values for ADCs with 16-bit resolution, as the 16th bit was being misinterpreted as the sign bit.

This PR aims to fix that by changing the type of the sample buffer to unsigned 16-bit values.

The ADC shell was showing incorrect values for ADCs with 16-bit
resolution, as the 16th bit was being misinterpreted as the sign bit.

This PR aims to fix that by changing the type of the sample buffer to
unsigned 16-bit values.

Signed-off-by: Alejandro Perea <[email protected]>
@zephyrbot zephyrbot added the area: ADC Analog-to-Digital Converter (ADC) label Dec 23, 2025
@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: ADC Analog-to-Digital Converter (ADC)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants