Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 2 additions & 12 deletions examples/noteprintf/noteprintf_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,17 +45,7 @@

int main(int argc, FAR char *argv[])
{
struct binary
{
uint8_t val1;
uint8_t val2;
} binary =
{
.val1 = 0x01,
.val2 = 0x02
};

char *str = "shced note test";
char *str = "sched note test";
int count = 0;
char c = 1;
short s = 2;
Expand All @@ -80,7 +70,7 @@ int main(int argc, FAR char *argv[])
while (1)
{
sched_note_printf(NOTE_TAG_ALWAYS,
"shced note test count = %d.", count++);
"sched note test count = %d.", count++);
sched_note_mark(NOTE_TAG_ALWAYS, str);
sched_note_printf(NOTE_TAG_ALWAYS, "%hhd", c);
sched_note_printf(NOTE_TAG_ALWAYS, "%hd", s);
Expand Down