From 02d0762c6e5086bc75a4071915941f7100942b23 Mon Sep 17 00:00:00 2001 From: yinshengkai Date: Thu, 24 Aug 2023 19:34:08 +0800 Subject: [PATCH] driver/note: fix trace dump: dump failed Exceeding the length limit may cause an error when using sched_note_printf Signed-off-by: yinshengkai --- 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) */