1
0
Эх сурвалжийг харах

[Kernel] Better documentation for doxygen.

bernard 11 жил өмнө
parent
commit
33fed1b167
2 өөрчлөгдсөн 3 нэмэгдсэн , 3 устгасан
  1. 1 1
      src/device.c
  2. 2 2
      src/module.c

+ 1 - 1
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)

+ 2 - 2
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
  */