driver/note: fix trace dump: dump failed

Exceeding the length limit may cause an error when using sched_note_printf

Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
This commit is contained in:
yinshengkai 2023-08-24 19:34:08 +08:00 committed by Xiang Xiao
parent 03e5c0217b
commit 02d0762c6e
1 changed files with 1 additions and 1 deletions

View File

@ -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) */