Searched refs:g_sensorCovertCoff (Results 1 – 1 of 1) sorted by relevance
39 static struct SensorCovertCoff g_sensorCovertCoff[] = { variable67 uint32_t count = sizeof(g_sensorCovertCoff) / sizeof(g_sensorCovertCoff[0]); in SetSensorIdBySensorType()70 if (g_sensorCovertCoff[i].sensorTypeId == (int32_t)type) { in SetSensorIdBySensorType()71 g_sensorCovertCoff[i].sensorId = sensorId; in SetSensorIdBySensorType()120 for (uint32_t i = 0; i < sizeof(g_sensorCovertCoff) / sizeof(g_sensorCovertCoff[0]); ++i) { in ConvertSensorData()121 … if ((g_sensorCovertCoff[i].sensorId == event->sensorId) && (g_sensorCovertCoff[i].dim != 0)) { in ConvertSensorData()124 axis = j % g_sensorCovertCoff[i].dim; in ConvertSensorData()125 value[j] = (float)(data[j] * g_sensorCovertCoff[i].coff[axis]); in ConvertSensorData()