From 824e88e911f8b844ed523fc12d71bd684ecd89d3 Mon Sep 17 00:00:00 2001 From: Zhang Date: Wed, 19 Oct 2022 07:27:17 +0000 Subject: [PATCH] update zh-cn/device-dev/driver/driver-hdf-development.md. Signed-off-by: Zhang --- zh-cn/device-dev/driver/driver-hdf-development.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/zh-cn/device-dev/driver/driver-hdf-development.md b/zh-cn/device-dev/driver/driver-hdf-development.md index 1fb36b4411..614c1266ea 100755 --- a/zh-cn/device-dev/driver/driver-hdf-development.md +++ b/zh-cn/device-dev/driver/driver-hdf-development.md @@ -30,14 +30,14 @@ HDF(Hardware Driver Foundation)框架以组件化的驱动模型作为核心 int32_t HdfSampleDriverBind(struct HdfDeviceObject *deviceObject) { HDF_LOGD("Sample driver bind success"); - return 0; + return HDF_SUCCESS; } // 驱动自身业务初始化的接口 int32_t HdfSampleDriverInit(struct HdfDeviceObject *deviceObject) { HDF_LOGD("Sample driver Init success"); - return 0; + return HDF_SUCCESS; } // 驱动资源释放的接口 @@ -109,7 +109,7 @@ HDF(Hardware Driver Foundation)框架以组件化的驱动模型作为核心 } config("public") { #定义依赖的头文件配置 include_dirs = [ - "xxx/xxx/xxx", #依赖的头文件目录 + "xxx/xxx/xxx", #依赖的头文件目录 ] } ``` -- GitLab