Revision 1428
Add new bootloader prototype supporting wireless programming
xbee.c | ||
---|---|---|
340 | 340 |
{ |
341 | 341 |
#ifndef ROBOT |
342 | 342 |
pthread_cancel(*xbee_listen_thread); |
343 |
pthread_join(*xbee_listen_thread, NULL); |
|
343 | 344 |
free(xbee_listen_thread); |
344 | 345 |
lockf(xbee_stream, F_ULOCK, 0); |
345 | 346 |
close(xbee_stream); |
Also available in: Unified diff