Revision 174
fixed some wl stuff; robot now receives packets
xbee.c | ||
---|---|---|
144 | 144 |
#endif |
145 | 145 |
sei(); |
146 | 146 |
#else |
147 |
printf("Using port "); |
|
148 |
printf(XBEE_PORT); |
|
149 |
printf("\n"); |
|
147 | 150 |
xbee_stream = open(XBEE_PORT, O_RDWR); |
148 | 151 |
if (xbee_stream == -1 || lockf(xbee_stream, F_TEST, 0) != 0) |
149 | 152 |
xbee_stream = open(XBEE_PORT2, O_RDWR); |
Also available in: Unified diff