!174 ADC测试用例AdcRead告警修复

Merge pull request !174 from 尹树清/master
This commit is contained in:
openharmony_ci
2021-08-16 09:34:33 +00:00
committed by Gitee
+1 -1
View File
@@ -140,7 +140,7 @@ static int AdcTestThreadFunc(void *param)
for (i = 0; i < ADC_TEST_WAIT_TIMES; i++) {
ret = AdcRead(tester->handle, tester->config.channel, &val);
if (ret != HDF_SUCCESS) {
HDF_LOGE("%s: read value invalid:%u, ret:%d", __func__, val, ret);
HDF_LOGE("%s: AdcRead failed, ret:%d", __func__, ret);
return HDF_ERR_IO;
}
}