diff --git a/src/device.c b/src/device.c index 2bb3cc0f9c391b9ca782f8ee3ce6a09952432128..835a517ce3cccd975a0c9da9bae18efde8fa67f8 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 0603159b917caaf0f149fc1fc32b709195b74993..5d5d02c5800c3786192f0e16d41aeaf2530a64ac 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 */