From 33fed1b167e1b2a653d9e58853537e40628f4e2e Mon Sep 17 00:00:00 2001 From: bernard Date: Mon, 21 Jul 2014 06:29:15 +0800 Subject: [Kernel] Better documentation for doxygen. --- src/device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/device.c') diff --git a/src/device.c b/src/device.c index 2bb3cc0f9c..835a517ce3 100644 --- a/src/device.c +++ b/src/device.c @@ -80,7 +80,7 @@ RTM_EXPORT(rt_device_unregister); * * @return the error code, RT_EOK on successfully. * - * @deprecated This function is not needed because the initialization + * @deprecated since 1.2.x, this function is not needed because the initialization * of a device is performed when applicaiton opens it. */ rt_err_t rt_device_init_all(void) -- cgit v1.3.1 From bd6b39cace67fcefccb105e0e6f7609973bbb7ce Mon Sep 17 00:00:00 2001 From: Bernard Xiong Date: Fri, 19 Sep 2014 14:29:03 +0800 Subject: Update device.c --- src/device.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/device.c') diff --git a/src/device.c b/src/device.c index 835a517ce3..957c9fc774 100644 --- a/src/device.c +++ b/src/device.c @@ -362,8 +362,8 @@ rt_err_t rt_device_control(rt_device_t dev, rt_uint8_t cmd, void *arg) RTM_EXPORT(rt_device_control); /** - * This function will set the indication callback function when device receives - * data. + * This function will set the reception indication callback function. This callback function + * is invoked when this device receives data. * * @param dev the pointer of device driver structure * @param rx_ind the indication callback function -- cgit v1.3.1