Function sh2_flush

Function Documentation

int sh2_flush(sh2_SensorId_t sensorId)

Immediately issue all buffered sensor reports from a given sensor.

Parameters:

sensorId – Which sensor reports to flush.

Returns:

SH2_OK (0), on success. Negative value from sh2_err.h on error.