[riot-notifications] [projects] Make use of nativenet transceiver. (#23)

LudwigOrtmann notifications at github.com
Thu Aug 15 12:10:34 CEST 2013


> +#define RCV_BUFFER_SIZE     (64)
> +#define RADIO_STACK_SIZE    (KERNEL_CONF_STACKSIZE_DEFAULT)
> +
> +char radio_stack_buffer[RADIO_STACK_SIZE];
> +msg_t msg_q[RCV_BUFFER_SIZE];
> +
> +void radio(void) {
> +    msg_t m;
> +    radio_packet_t *p;
> +    uint8_t i;
> +
> +    msg_init_queue(msg_q, RCV_BUFFER_SIZE);
> +
> +    while (1) {
> +        msg_receive(&m);
> +        puts("foo");

fixed

---
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/projects/pull/23/files#r5786914
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20130815/108213a7/attachment.html>


More information about the notifications mailing list