未验证 提交 d9644058 编写于 作者: Z Zhang 提交者: Gitee

update zh-cn/device-dev/driver/driver-hdf-sample.md.

Signed-off-by: NZhang <zhangfengxi@huawei.com>
上级 18f3c16c
...@@ -64,7 +64,7 @@ root { ...@@ -64,7 +64,7 @@ root {
#define SAMPLE_WRITE_READ 123 #define SAMPLE_WRITE_READ 123
int32_t HdfSampleDriverDispatch( int32_t HdfSampleDriverDispatch(
struct HdfDeviceObject *deviceObject, int id, struct HdfSBuf *data, struct HdfSBuf *reply) struct HdfDeviceIoClient *deviceObject, int id, struct HdfSBuf *data, struct HdfSBuf *reply)
{ {
HDF_LOGE("%s: received cmd %d", __func__, id); HDF_LOGE("%s: received cmd %d", __func__, id);
if (id == SAMPLE_WRITE_READ) { if (id == SAMPLE_WRITE_READ) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册