Simple example: Fix printf modifier

This commit is contained in:
Angus Gratton 2015-08-05 13:58:09 +10:00
parent dd538b2889
commit 6887a8119a

View file

@ -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");
} }