diff options
author | Philip Balister <philip@opensdr.com> | 2010-03-29 13:30:17 +0000 |
---|---|---|
committer | Philip Balister <philip@opensdr.com> | 2010-03-29 13:30:17 +0000 |
commit | 930755fce1e5d22a5ede0459dccd6c9501fc642c (patch) | |
tree | bd1d94a378512440328a922727575d642d7998a2 /host/apps | |
parent | 29e88b3478aad89ff76363029395200a8601e667 (diff) | |
download | uhd-930755fce1e5d22a5ede0459dccd6c9501fc642c.tar.gz uhd-930755fce1e5d22a5ede0459dccd6c9501fc642c.tar.bz2 uhd-930755fce1e5d22a5ede0459dccd6c9501fc642c.zip |
Minor fixes.
Diffstat (limited to 'host/apps')
-rw-r--r-- | host/apps/omap_debug/usrp-e-i2c.c | 4 |
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; |