Fix build break when CONFIG_TASK_NAME_SIZE == 0
This commit is contained in:
parent
1184502661
commit
60bf4a4d8a
@ -406,7 +406,7 @@ void sched_note_start(FAR struct tcb_s *tcb)
|
|||||||
|
|
||||||
length = SIZEOF_NOTE_START(namelen + 1);
|
length = SIZEOF_NOTE_START(namelen + 1);
|
||||||
#else
|
#else
|
||||||
length = SIZEOF_NOTE_START(0)
|
length = SIZEOF_NOTE_START(0);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Finish formatting the note */
|
/* Finish formatting the note */
|
||||||
|
Loading…
Reference in New Issue
Block a user