nRF Connect SDK API 2.8.99
|
int ext_sensors_inactivity_timeout_set | ( | double | inact_time | ) |
#include <applications/asset_tracker_v2/src/ext_sensors/ext_sensors.h>
Set the timeout for the inactivity detection of the accelerometer.
[in] | inact_time | Variable that sets the accelerometer inactivity timeout in s. Must be a value larger than 0 and smaller than the configured range (default ODR=12.5Hz, max timeout: 5242.880) |