diff --git a/sys/shell/commands/sc_cc110x_ng.c b/sys/shell/commands/sc_cc110x_ng.c index ed9aa4511..356db3f3a 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; } }