f6f03867d8
The accel_polling sample uses various sensor, but doesn't set a sampling rate. But some sensors (like st,lsm6dso) have a default sampling frequency of 0. So, depending on the sensor, the sample may not always work. There are two ways to fix this: either all drivers must set a valid sampling rate, or the sample shall at least try to set a value if there is none. We propose here the second approach, wich should allow the sample to work on more sensors out of the box. Signed-off-by: Miguel Gazquez <miguel.gazquez@bootlin.com> |
||
---|---|---|
.. | ||
accel_polling | ||
adc_cmp_npcx | ||
adt7420 | ||
amg88xx | ||
ams_iAQcore | ||
apds9960 | ||
bme280 | ||
bme680 | ||
bmg160 | ||
bmi270 | ||
bq274xx | ||
ccs811 | ||
co2_polling | ||
dht | ||
dht_polling | ||
die_temp_polling | ||
dps310 | ||
ds18b20 | ||
ens210 | ||
fdc2x1x | ||
fxas21002 | ||
fxos8700 | ||
grove_light | ||
grove_temperature | ||
grow_r502a | ||
hts221 | ||
i3g4250d | ||
icm42605 | ||
ina219 | ||
isl29035 | ||
lis2dh | ||
lps22hb | ||
lps22hh | ||
lps22hh_i3c | ||
lsm6dsl | ||
lsm6dso | ||
lsm6dso_i2c_on_i3c | ||
lsm303dlhc | ||
magn_polling | ||
max6675 | ||
max17262 | ||
max30101 | ||
max44009 | ||
mcp9808 | ||
mcux_acmp | ||
mcux_lpcmp | ||
mhz19b | ||
mpr | ||
mpu6050 | ||
ms5837 | ||
proximity_polling | ||
qdec | ||
sensor_shell | ||
sgp40_sht4x | ||
sht3xd | ||
sm351lt | ||
soc_voltage | ||
sx9500 | ||
th02 | ||
thermometer | ||
ti_hdc | ||
tmp108 | ||
tmp112 | ||
tmp116 | ||
vcnl4040 | ||
veaa_x_3 | ||
vl53l0x | ||
sensor.rst |