aboutsummaryrefslogtreecommitdiffstats
path: root/host/apps/omap_debug/usrp-e-i2c.c
diff options
context:
space:
mode:
authorroot <root@usrp1-e.(none)>2010-03-25 17:42:36 +0000
committerroot <root@usrp1-e.(none)>2010-03-25 17:42:36 +0000
commit28e5e0740a8fc3c7233a1bd5cc6bbc897c586da6 (patch)
tree8a5daa7b11fbd4f289d7875d66238626441541f4 /host/apps/omap_debug/usrp-e-i2c.c
parent4f5cd64188c7e2b5490d910d5e86301c053960ea (diff)
downloaduhd-28e5e0740a8fc3c7233a1bd5cc6bbc897c586da6.tar.gz
uhd-28e5e0740a8fc3c7233a1bd5cc6bbc897c586da6.tar.bz2
uhd-28e5e0740a8fc3c7233a1bd5cc6bbc897c586da6.zip
Updates for header file change from usrp1_e.h to usrp_e.h.
Diffstat (limited to 'host/apps/omap_debug/usrp-e-i2c.c')
-rw-r--r--host/apps/omap_debug/usrp-e-i2c.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/host/apps/omap_debug/usrp-e-i2c.c b/host/apps/omap_debug/usrp-e-i2c.c
index dce1ae153..417d6d580 100644
--- a/host/apps/omap_debug/usrp-e-i2c.c
+++ b/host/apps/omap_debug/usrp-e-i2c.c
@@ -5,7 +5,7 @@
#include <fcntl.h>
#include <sys/ioctl.h>
-#include "usrp1_e.h"
+#include "usrp_e.h"
// Usage: usrp_e_i2c w address data0 data1 data 2 ....
// Usage: usrp_e_i2c r address count
@@ -17,8 +17,8 @@ int main(int argc, char *argv[])
int direction, address, count;
if (argc < 3) {
- printf("Usage: usrp1_e_i2c w address data0 data1 data2 ...\n");
- printf("Usage: usrp1_e_i2c r address count\n");
+ printf("Usage: usrp_e_i2c w address data0 data1 data2 ...\n");
+ printf("Usage: usrp_e_i2c r address count\n");
exit(-1);
}
@@ -32,7 +32,7 @@ int main(int argc, char *argv[])
address = atoi(argv[2]);
- fp = open("/dev/usrp1_e0", O_RDWR);
+ fp = open("/dev/usrp_e0", O_RDWR);
printf("fp = %d\n", fp);
if (direction) {