aboutsummaryrefslogtreecommitdiffstats
path: root/host/apps/omap_debug
diff options
context:
space:
mode:
authorPhilip Balister <philip@opensdr.com>2010-03-29 13:30:17 +0000
committerPhilip Balister <philip@opensdr.com>2010-03-29 13:30:17 +0000
commit930755fce1e5d22a5ede0459dccd6c9501fc642c (patch)
treebd1d94a378512440328a922727575d642d7998a2 /host/apps/omap_debug
parent29e88b3478aad89ff76363029395200a8601e667 (diff)
downloaduhd-930755fce1e5d22a5ede0459dccd6c9501fc642c.tar.gz
uhd-930755fce1e5d22a5ede0459dccd6c9501fc642c.tar.bz2
uhd-930755fce1e5d22a5ede0459dccd6c9501fc642c.zip
Minor fixes.
Diffstat (limited to 'host/apps/omap_debug')
-rw-r--r--host/apps/omap_debug/usrp-e-i2c.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/apps/omap_debug/usrp-e-i2c.c b/host/apps/omap_debug/usrp-e-i2c.c
index 417d6d580..19d64731b 100644
--- a/host/apps/omap_debug/usrp-e-i2c.c
+++ b/host/apps/omap_debug/usrp-e-i2c.c
@@ -36,7 +36,7 @@ int main(int argc, char *argv[])
printf("fp = %d\n", fp);
if (direction) {
- count = argc - 2;
+ count = argc - 3;
} else {
count = atoi(argv[3]);
}
@@ -64,7 +64,7 @@ int main(int argc, char *argv[])
for (i=0; i<count; i++) {
printf(" %X", i2c_msg->data[i]);
}
- printf("/n");
+ printf("\n");
}
return 0;