Function sh2_setSensorConfig
Defined in File sh2.h
Function Documentation
-
int sh2_setSensorConfig(sh2_SensorId_t sensorId, const sh2_SensorConfig_t *pConfig)
Set sensor configuration. (e.g enable a sensor at a particular rate.)
- Parameters:
sensorId – Which sensor to configure.
pConfig – Pointer to structure holding sensor configuration.
- Returns:
SH2_OK (0), on success. Negative value from sh2_err.h on error.