summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbernard <[email protected]>2014-07-21 06:29:15 +0800
committerbernard <[email protected]>2014-07-21 06:29:15 +0800
commit33fed1b167e1b2a653d9e58853537e40628f4e2e (patch)
tree692bcae4f763fdd18d184d294c7d515f02d48096 /src
parent4e2a6cc36179c1b5ffae707f9485e56c964b8988 (diff)
[Kernel] Better documentation for doxygen.
Diffstat (limited to 'src')
-rw-r--r--src/device.c2
-rw-r--r--src/module.c4
2 files changed, 3 insertions, 3 deletions
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)
diff --git a/src/module.c b/src/module.c
index 0603159b91..5d5d02c580 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
*/