Description: 解决nuttx可以写入1024数据问题

IssueNo: https://gitee.com/openharmony/third_party_NuttX/issues/I91FUT
Feature Or Bugfix: Bugfix
Binary Source: No
Signed-off-by: hw_llm <liu.limin@huawei.com>
This commit is contained in:
hw_llm
2024-02-07 14:44:00 +08:00
parent 8a0879ff21
commit 618bdffeb2
+1 -1
View File
@@ -144,7 +144,7 @@ struct pipe_dev_s *pipecommon_allocdev(size_t bufsize, const char *name)
* should not have priority inheritance enabled.
*/
dev->d_bufsize = bufsize + 1; /* +1 to compensate the full indicator */
dev->d_bufsize = bufsize;
}
return dev;