mirror of
https://github.com/openharmony/drivers_peripheral.git
synced 2026-08-24 18:15:56 -04:00
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user