Skip to content
Commit 1fd9dc85 authored by Mathieu Choplain's avatar Mathieu Choplain Committed by Anas Nashif
Browse files

tests: drivers: adc_api: use proper printf format



This commit changes the adc_api test to use the proper printf
format specifier when printing the ADC samplings. This ensures
that all values are printed on 16-bit. Without this specifier,
negative values are sign-extended and printed on full integer
size (e.g., 0x8000 -> "0xFFFF8000").

Signed-off-by: default avatarMathieu Choplain <mathieu.choplain@st.com>
parent 6cb8956a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment