From 33fed1b167e1b2a653d9e58853537e40628f4e2e Mon Sep 17 00:00:00 2001 From: bernard Date: Mon, 21 Jul 2014 06:29:15 +0800 Subject: [PATCH] [Kernel] Better documentation for doxygen. --- src/device.c | 2 +- src/module.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/device.c b/src/device.c index 2bb3cc0f9..835a517ce 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) diff --git a/src/module.c b/src/module.c index 0603159b9..5d5d02c58 100644 --- a/src/module.c +++ b/src/module.c @@ -1120,8 +1120,8 @@ rt_module_t rt_module_open(const char *path) * This function will do a excutable program with main function and parameters. * * @param path the full path of application module - * @cmd_line the command line of program - * @size the size of command line of program + * @param cmd_line the command line of program + * @param size the size of command line of program * * @return the module object */ -- GitLab