You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "Gary-Hobson (via GitHub)" <gi...@apache.org> on 2023/03/01 14:44:21 UTC

[GitHub] [nuttx-apps] Gary-Hobson commented on a diff in pull request #1605: exampels/note: modify SCHED_NOTE_XXX -> sched_note_xxx

Gary-Hobson commented on code in PR #1605:
URL: https://github.com/apache/nuttx-apps/pull/1605#discussion_r1121848039


##########
examples/noteprintf/noteprintf_main.c:
##########
@@ -79,29 +79,29 @@ int main(int argc, FAR char *argv[])
 
   while (1)
     {
-      SCHED_NOTE_PRINTF("shced note test count = %d.", count++);
-      SCHED_NOTE_STRING(str);
-      SCHED_NOTE_DUMP(1, &binary, sizeof(struct binary));
-      SCHED_NOTE_BPRINTF(2, "%hhd", c);
-      SCHED_NOTE_BPRINTF(3, "%hd", s);
-      SCHED_NOTE_BPRINTF(4, "%d", i);
-      SCHED_NOTE_BPRINTF(5, "%ld", l);
+      sched_note_printf(NOTE_TAG_ALWAYS, "shced note test count = %d.", count++);

Review Comment:
   done



-- 
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: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org