Project

General

Profile

Revision 918

Added by Tudor Achim over 15 years ago

python stuff

View differences:

robots.c
4 4
#include <stdio.h>
5 5
#include "robots.h"
6 6

  
7
#define CHANNEL 0xE
8

  
7 9
typedef struct Node {
8 10
     Packet *info;
9 11
     struct Node *next;
......
18 20
{ 
19 21
     PacketGroupHandler *receiver;
20 22
     printf("wl_init() returned %d\n", wl_init());
21
     wl_set_channel(0xE);
23
     wl_set_channel(CHANNEL);
22 24
     receiver = malloc(sizeof(PacketGroupHandler));
23 25
     receiver->groupCode = GROUP;
24 26
     receiver->handle_response = NULL;

Also available in: Unified diff