Revision 1456 branches/colonetmk2/code/projects/libdragonfly/serial.c
| serial.c (revision 1456) | ||
|---|---|---|
| 34 | 34 |
**/ |
| 35 | 35 |
|
| 36 | 36 |
#include <avr/io.h> |
| 37 |
#include <stdio.h> |
|
| 38 | 37 |
#include "serial.h" |
| 39 | 38 |
|
| 39 |
#ifdef USE_STDIO |
|
| 40 |
|
|
| 41 |
#include <stdio.h> |
|
| 42 |
|
|
| 40 | 43 |
/** |
| 41 | 44 |
* For use with fprintf() and related stdio functions |
| 42 | 45 |
**/ |
| ... | ... | |
| 47 | 50 |
**/ |
| 48 | 51 |
FILE *xbee_fd; |
| 49 | 52 |
|
| 53 |
#endif |
|
| 54 |
|
|
| 50 | 55 |
/** |
| 51 | 56 |
* Initializes communication over the USB serial port. |
| 52 | 57 |
* This must be called before any other usb function |
Also available in: Unified diff