Revision 4f5cd641 host/apps/omap_debug/usrp-e-spi.c
| b/host/apps/omap_debug/usrp-e-spi.c | ||
|---|---|---|
| 2 | 2 |
#include <stdlib.h> |
| 3 | 3 |
#include <sys/types.h> |
| 4 | 4 |
#include <fcntl.h> |
| 5 |
#include <linux/ioctl.h>
|
|
| 5 |
#include <sys/ioctl.h>
|
|
| 6 | 6 |
|
| 7 | 7 |
#include "usrp1_e.h" |
| 8 | 8 |
|
| ... | ... | |
| 37 | 37 |
spi_dat.readback = 0; |
| 38 | 38 |
ioctl(fp, USRP_E_SPI, &spi_dat); |
| 39 | 39 |
} |
| 40 |
|
|
| 41 |
return 0; |
|
| 40 | 42 |
} |
Also available in: Unified diff