sensor report

Signed-off-by: l30053696 <liangpenghui2@huawei.com>
This commit is contained in:
梁鹏辉
2023-12-19 14:41:49 +08:00
parent 5b3bc6b8f5
commit a7bb44dea9
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -350,7 +350,7 @@ int32_t SensorImpl::GetSdcSensorInfo(std::vector<SdcSensorInfoVdi>& sdcSensorInf
StartTrace(HITRACE_TAG_SENSORS, "GetSdcSensorInfo");
struct SdcSensorInfo[] sdcSensorInfos;
int32_t ret = sensorInterface->GetSdcSensorInfo(sdcSensorInfos);
int32_t ret = sensorInterface->GetSdcSensorInfo(&sdcSensorInfos);
FinishTrace(HITRACE_TAG_SENSORS);
if (ret != SENSOR_SUCCESS) {
HDF_LOGE("%{public}s failed, error code is %{public}d", __func__, ret);