diff options
author | Philip Balister <philip@opensdr.com> | 2010-05-03 22:36:56 +0000 |
---|---|---|
committer | Philip Balister <philip@opensdr.com> | 2010-05-03 22:36:56 +0000 |
commit | 5583cb575e45441c98480f7beecb48437842fc5c (patch) | |
tree | 7d8e75b05c9d06303e2555d6de88f6d3d3cd339d /host/apps/omap_debug/usrp-e-spi.c | |
parent | 31d4e1362cd222c688a3bfd3b528a2de51a4b03b (diff) | |
download | uhd-5583cb575e45441c98480f7beecb48437842fc5c.tar.gz uhd-5583cb575e45441c98480f7beecb48437842fc5c.tar.bz2 uhd-5583cb575e45441c98480f7beecb48437842fc5c.zip |
Spi data returned in struct now.
Diffstat (limited to 'host/apps/omap_debug/usrp-e-spi.c')
-rw-r--r-- | host/apps/omap_debug/usrp-e-spi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/apps/omap_debug/usrp-e-spi.c b/host/apps/omap_debug/usrp-e-spi.c index 47ee9369c..2fcc39b9b 100644 --- a/host/apps/omap_debug/usrp-e-spi.c +++ b/host/apps/omap_debug/usrp-e-spi.c @@ -39,7 +39,7 @@ int main(int argc, char *argv[]) if (*argv[1] == 'r') { spi_dat.readback = 1; ret = ioctl(fp, USRP_E_SPI, &spi_dat); - printf("Data returned = %d\n", ret); + printf("Ioctl returns: %d, Data returned = %d\n", ret, spi_dat.data); } else { spi_dat.readback = 0; ioctl(fp, USRP_E_SPI, &spi_dat); |