aboutsummaryrefslogtreecommitdiffstats
path: root/host/utils/usrp-e-debug-pins.c
diff options
context:
space:
mode:
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);