Skip to content
Commit a7b32731 authored by Flavio Ceolin's avatar Flavio Ceolin Committed by Ioannis Glaropoulos
Browse files

samples: fxos8700-hid: Fix possible underflow



gpio_pin_get() returns a negative value in case of error and
callbacks_configure was assigning this value to an unsigned variable.

Fixes: #22643
Coverity CID :208206

Signed-off-by: default avatarFlavio Ceolin <flavio.ceolin@intel.com>
parent 2f323e65
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment