1 /* 2 * Copyright (c) 2021 Huawei Device Co., Ltd. 3 * 4 * HDF is dual licensed: you can use it either under the terms of 5 * the GPL, or the BSD license, at your option. 6 * See the LICENSE file in the root of this repository for complete details. 7 */ 8 9 #include "hdf_adc_entry_test.h" 10 #include "hdf_log.h" 11 #include "adc_test.h" 12 #include "hdf_log.h" 13 14 #define HDF_LOG_TAG hdf_adc_entry_test 15 HdfAdcTestEntry(HdfTestMsg * msg)16int32_t HdfAdcTestEntry(HdfTestMsg *msg) 17 { 18 HDF_LOGE("%s: enter", __func__); 19 if (msg == NULL) { 20 return HDF_FAILURE; 21 } 22 23 msg->result = AdcTestExecute(msg->subCmd); 24 25 return HDF_SUCCESS; 26 } 27