diff options
author | Philip Balister <balister@moose.(none)> | 2010-03-24 15:49:08 -0400 |
---|---|---|
committer | Philip Balister <balister@moose.(none)> | 2010-03-24 15:49:08 -0400 |
commit | 4f5cd64188c7e2b5490d910d5e86301c053960ea (patch) | |
tree | 7e9f07b55f08cd52bc594c59bc23a2ba173e99c2 /host/apps/omap_debug/usrp-e-spi.c | |
parent | ac482c5a469d6a02c8a83e0c0c7e10ce4eaf5718 (diff) | |
download | uhd-4f5cd64188c7e2b5490d910d5e86301c053960ea.tar.gz uhd-4f5cd64188c7e2b5490d910d5e86301c053960ea.tar.bz2 uhd-4f5cd64188c7e2b5490d910d5e86301c053960ea.zip |
Makefile and usrp-e-spi edits, add i2c test program.
Diffstat (limited to 'host/apps/omap_debug/usrp-e-spi.c')
-rw-r--r-- | host/apps/omap_debug/usrp-e-spi.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/host/apps/omap_debug/usrp-e-spi.c b/host/apps/omap_debug/usrp-e-spi.c index a79d74b18..e10e72b80 100644 --- a/host/apps/omap_debug/usrp-e-spi.c +++ b/host/apps/omap_debug/usrp-e-spi.c @@ -2,7 +2,7 @@ #include <stdlib.h> #include <sys/types.h> #include <fcntl.h> -#include <linux/ioctl.h> +#include <sys/ioctl.h> #include "usrp1_e.h" @@ -37,4 +37,6 @@ int main(int argc, char *argv[]) spi_dat.readback = 0; ioctl(fp, USRP_E_SPI, &spi_dat); } + + return 0; } |