Skip to content
Commit 35502592 authored by Robert Lubos's avatar Robert Lubos Committed by Fabio Baltieri
Browse files

drivers: input: Fix uninitialized closest_mv variable warning



Building with GCC 9.4.0 gives the following warning/error:

  error: closest_mv may be used uninitialized in this function

This commit fixes it.

Signed-off-by: default avatarRobert Lubos <robert.lubos@nordicsemi.no>
parent 25830e38
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment