Skip to content
Commit 6a4514dd authored by Björn Stenberg's avatar Björn Stenberg Committed by Alberto Escolar
Browse files

adc: Use int64_t in voltage divider calculation to avoid overflow



int32_t overflows above 1.3kOhm if using vref 3300 mV.

Signed-off-by: default avatarBjörn Stenberg <bjorn@haxx.se>
parent d7223e7b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment