Change-Id: I6f2a0bf220ac6038d3e9606cd8dbb58709450ccd
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
void SensorAdapter::__onEvent(sensor_data_t *eventData)
{
double timestamp = __getEpoch(eventData->timestamp);
- __listener->onEvent(timestamp, eventData->values, eventData->accuracy);
+ __listener->onEvent(timestamp / 1000.0, eventData->values, eventData->accuracy);
}
void SensorAdapter::__eventCb(sensor_t sensor, unsigned int eventType, sensor_data_t *eventData, void *cbData)