diff options
author | Philip Balister <philip@opensdr.com> | 2010-05-03 12:44:41 +0000 |
---|---|---|
committer | Philip Balister <philip@opensdr.com> | 2010-05-03 12:45:56 +0000 |
commit | a8f284d03d061a2fb9a6daf6e6bc2493daccd5d4 (patch) | |
tree | e999e89706ab4555e31b1dcffad8a8847dc2eacb /host/apps/omap_debug/usrp-e-spi.c | |
parent | 2e222f4a77df389551d08b42a1bf947487d1442f (diff) | |
download | uhd-a8f284d03d061a2fb9a6daf6e6bc2493daccd5d4.tar.gz uhd-a8f284d03d061a2fb9a6daf6e6bc2493daccd5d4.tar.bz2 uhd-a8f284d03d061a2fb9a6daf6e6bc2493daccd5d4.zip |
Add a hack to work around a driver race. Remove when teh driver is fixed.
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, 2 insertions, 0 deletions
diff --git a/host/apps/omap_debug/usrp-e-spi.c b/host/apps/omap_debug/usrp-e-spi.c index caa36b3f1..264231731 100644 --- a/host/apps/omap_debug/usrp-e-spi.c +++ b/host/apps/omap_debug/usrp-e-spi.c @@ -28,6 +28,8 @@ int main(int argc, char *argv[]) fp = open("/dev/usrp_e0", O_RDWR); printf("fp = %d\n", fp); + sleep(1); // HACK HACK + spi_dat.slave = slave; spi_dat.data = data; spi_dat.length = length; |