From 078ada48209e9e1edf967594718d76951bdee840 Mon Sep 17 00:00:00 2001 From: yangjunrui Date: Thu, 13 Jan 2022 10:13:27 +0800 Subject: [PATCH] test: test sensor Signed-off-by: yangjunrui --- .../adapter/v1_0_connection/src/hdi_connection.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/sensor/hdi_connection/adapter/v1_0_connection/src/hdi_connection.cpp b/services/sensor/hdi_connection/adapter/v1_0_connection/src/hdi_connection.cpp index 50b2f6b0..6b3de1b2 100644 --- a/services/sensor/hdi_connection/adapter/v1_0_connection/src/hdi_connection.cpp +++ b/services/sensor/hdi_connection/adapter/v1_0_connection/src/hdi_connection.cpp @@ -136,11 +136,11 @@ int32_t HdiConnection::RegisteDataReport(ZReportDataCb cb, sptrUnregister(0); + /* int32_t ret = sensorInterface_->Unregister(0); if (ret < 0) { HiLog::Error(LABEL, "%{public}s failed", __func__); return ret; - } + } */ return ERR_OK; } -- Gitee