summaryrefslogtreecommitdiffstats
path: root/host/utils/usrp-e-debug-pins.c
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-01-12 18:30:56 +0000
committerJosh Blum <josh@joshknows.com>2011-01-12 18:33:53 +0000
commitd521bd1c28acf0ca159f8c84a8189bef11fdf65d (patch)
tree6abb6ebdb8be187ce58c3c0e749e9cce07f3fb6b /host/utils/usrp-e-debug-pins.c
parentd10f010ec3321e9033c275387cdf6b9f9a2e0f94 (diff)
downloaduhd-d521bd1c28acf0ca159f8c84a8189bef11fdf65d.tar.gz
uhd-d521bd1c28acf0ca159f8c84a8189bef11fdf65d.tar.bz2
uhd-d521bd1c28acf0ca159f8c84a8189bef11fdf65d.zip
usrp-e100: added readbacks for time now and time pps
incremented fpga compat number added slave 7 to regs map removed old copy of regs map
Diffstat (limited to 'host/utils/usrp-e-debug-pins.c')
-rw-r--r--host/utils/usrp-e-debug-pins.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/host/utils/usrp-e-debug-pins.c b/host/utils/usrp-e-debug-pins.c
index 1ed2c8983..94f898b67 100644
--- a/host/utils/usrp-e-debug-pins.c
+++ b/host/utils/usrp-e-debug-pins.c
@@ -7,7 +7,7 @@
#include <sys/ioctl.h>
#include <linux/usrp_e.h>
-#include "usrp_e_regs.hpp"
+#include "usrp_e100_regs.hpp"
// Usage: usrp_e_gpio <string>
@@ -42,6 +42,7 @@ int main(int argc, char *argv[])
test = 0;
if (argc < 2) {
printf("%s 0|1|off\n", argv[0]);
+ return -1;
}
fp = open("/dev/usrp_e0", O_RDWR);