Skip to content
Commit 398d2975 authored by Jeppe Odgaard's avatar Jeppe Odgaard Committed by Alberto Escolar
Browse files

drivers: dac: stm32: add dac value range check



Compare value and DAC resolution in `dac_write_value` and return -EINVAL
if the value is above supported resolution.

Signed-off-by: default avatarJeppe Odgaard <jeppe.odgaard@prevas.dk>
parent 004b3072
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment