Simple example: Fix printf modifier
This commit is contained in:
parent
dd538b2889
commit
6887a8119a
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ void task2(void *pvParameters)
|
||||||
while(1) {
|
while(1) {
|
||||||
uint32_t count;
|
uint32_t count;
|
||||||
if(xQueueReceive(*queue, &count, 1000)) {
|
if(xQueueReceive(*queue, &count, 1000)) {
|
||||||
printf("Got %d\n", count);
|
printf("Got %lu\n", count);
|
||||||
} else {
|
} else {
|
||||||
printf("No msg :(\n");
|
printf("No msg :(\n");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue