From 0212ab36a7e38d141ddbc884e2ee3b45470bd7c9 Mon Sep 17 00:00:00 2001 From: Rene Kijewski Date: Tue, 18 Jun 2013 17:46:18 +0200 Subject: [PATCH] Use inttypes.h in sc_cc110x_ng.c --- sys/shell/commands/sc_cc110x_ng.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/shell/commands/sc_cc110x_ng.c b/sys/shell/commands/sc_cc110x_ng.c index ed9aa45110..356db3f3a0 100644 --- a/sys/shell/commands/sc_cc110x_ng.c +++ b/sys/shell/commands/sc_cc110x_ng.c @@ -4,6 +4,7 @@ #include #include #include +#include #define TEXT_SIZE CC1100_MAX_DATA_LENGTH @@ -72,7 +73,7 @@ void _cc110x_ng_send_handler(char *pkt) { printf("[cc110x] Sending packet of length %u to %hu: %s\n", p.length, p.dst, (char*) p.data); msg_send_receive(&mesg, &mesg, transceiver_pid); response = mesg.content.value; - printf("[cc110x] Packet sent: %lu\n", response); + printf("[cc110x] Packet sent: %" PRIu32 "\n", response); return; } }