Revision 1161
Some changes to match the updated library.
data_response.c | ||
---|---|---|
32 | 32 |
void handle_receive(char type, int source, unsigned char* packet, int length){ |
33 | 33 |
|
34 | 34 |
char buf[MAX_PACKET_LENGTH]; |
35 |
int size; |
|
35 |
int size = 0;
|
|
36 | 36 |
int i=0; |
37 | 37 |
short int robot_id, ir_value; |
38 | 38 |
char ranges[] = {IR1,IR2,IR3,IR4,IR5}; |
Also available in: Unified diff