You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2023/08/28 16:09:16 UTC
[nuttx] branch master updated: driver/note: fix trace dump: dump failed
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new 02d0762c6e driver/note: fix trace dump: dump failed
02d0762c6e is described below
commit 02d0762c6e5086bc75a4071915941f7100942b23
Author: yinshengkai <yi...@xiaomi.com>
AuthorDate: Thu Aug 24 19:34:08 2023 +0800
driver/note: fix trace dump: dump failed
Exceeding the length limit may cause an error when using sched_note_printf
Signed-off-by: yinshengkai <yi...@xiaomi.com>
---
drivers/note/noteram_driver.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/note/noteram_driver.c b/drivers/note/noteram_driver.c
index f2030b58bc..84b493f2d6 100644
--- a/drivers/note/noteram_driver.c
+++ b/drivers/note/noteram_driver.c
@@ -440,7 +440,7 @@ static ssize_t noteram_read(FAR struct file *filep, FAR char *buffer,
do
{
irqstate_t flags;
- uint8_t note[64];
+ uint8_t note[256];
/* Get the next note (removing it from the buffer) */