xiaoxiang781216 commented on code in PR #11153:
URL: https://github.com/apache/nuttx/pull/11153#discussion_r1387921013
##########
drivers/note/note_driver.c:
##########
@@ -580,8 +558,7 @@ static void note_record_taskname(pid_t pid, FAR const char
*name)
ti = (FAR struct note_taskname_info_s *)
&g_note_taskname.buffer[g_note_taskname.head];
ti->size = skiplen;
- ti->pid[0] = 0xff;
- ti->pid[1] = 0xff;
+ ti->pid = 0xffff;
Review Comment:
change to INVALID_PROCESS_ID
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]