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:
parent
03e5c0217b
commit
02d0762c6e
|
@ -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) */
|
||||
|
||||
|
|
Loading…
Reference in New Issue