Skip to content
Commit 869c60e2 authored by Aurelien Jarno's avatar Aurelien Jarno Committed by Carles Cufí
Browse files

drivers: sensor: stm32_vbat: get vref-mv through the ADC API



Get the vref-mv through the ADC API instead of the device tree. This
saves 8 bytes of SRAM and will be future proof in case, one day, support
for a variable vref is added.

Signed-off-by: default avatarAurelien Jarno <aurelien@aurel32.net>
parent fd8042d8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment