summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;