Revision 918
python stuff
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