1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

Use inttypes.h in sc_cc110x_ng.c

This commit is contained in:
Rene Kijewski 2013-06-18 17:46:18 +02:00
parent b571286574
commit 0212ab36a7

View File

@ -4,6 +4,7 @@
#include <transceiver.h>
#include <cc110x_ng.h>
#include <msg.h>
#include <inttypes.h>
#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;
}
}