zephyr/samples/sensor
Flavio Ceolin a7b327310d 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: Flavio Ceolin <flavio.ceolin@intel.com>
2020-03-25 16:25:45 +01:00
..
adt7420
adxl362
adxl372
amg88xx
ams_iAQcore
apds9960
bme280
bme680
bmg160
bmm150
ccs811
dht
ens210
fxas21002
fxos8700
fxos8700-hid
grove_light
grove_temperature
hmc5883l
hts221
isl29035
lis2dh
lps22hb
lps22hh
lsm6dsl
lsm303dlhc
magn_polling
max30101
max44009
mcp9808
mpu6050
ms5837
sensor_shell
sht3xd
sx9500
th02
thermometer
ti_hdc
tmp112
tmp116
vl53l0x
sensor.rst