!53 更改 "rt_device_read()" 和"rt_device_write()" 的注释错误

Merge pull request !53 from Jackistang/fix
This commit is contained in:
guozhanxin 2022-03-28 03:09:59 +00:00 committed by Gitee
commit 589014dff0
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 2 additions and 2 deletions

View File

@ -307,7 +307,7 @@ RTM_EXPORT(rt_device_close);
*
* @param size is the size of buffer.
*
* @return the actually read size on successful, otherwise negative returned.
* @return the actually read size on successful, otherwise zero returned.
*
* @note since 0.4.0, the unit of size/pos is a block for block device.
*/
@ -350,7 +350,7 @@ RTM_EXPORT(rt_device_read);
*
* @param size is the size of buffer.
*
* @return the actually written size on successful, otherwise negative returned.
* @return the actually written size on successful, otherwise zero returned.
*
* @note since 0.4.0, the unit of size/pos is a block for block device.
*/