mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
Use inttypes.h in sc_cc110x_ng.c
This commit is contained in:
parent
b571286574
commit
0212ab36a7
@ -4,6 +4,7 @@
|
|||||||
#include <transceiver.h>
|
#include <transceiver.h>
|
||||||
#include <cc110x_ng.h>
|
#include <cc110x_ng.h>
|
||||||
#include <msg.h>
|
#include <msg.h>
|
||||||
|
#include <inttypes.h>
|
||||||
|
|
||||||
#define TEXT_SIZE CC1100_MAX_DATA_LENGTH
|
#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);
|
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);
|
msg_send_receive(&mesg, &mesg, transceiver_pid);
|
||||||
response = mesg.content.value;
|
response = mesg.content.value;
|
||||||
printf("[cc110x] Packet sent: %lu\n", response);
|
printf("[cc110x] Packet sent: %" PRIu32 "\n", response);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user