projects
/
debian
/
gnuradio
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Imported Upstream version 3.0.3
[debian/gnuradio]
/
usrp
/
host
/
apps
/
usrper.cc
diff --git
a/usrp/host/apps/usrper.cc
b/usrp/host/apps/usrper.cc
index d70128480344c27f31be6aa6d8e9be7fdc8f4661..8216d79697b62c8859869f42b87b21f596c3576a 100644
(file)
--- a/
usrp/host/apps/usrper.cc
+++ b/
usrp/host/apps/usrper.cc
@@
-298,7
+298,7
@@
main (int argc, char **argv)
else if (strcmp (cmd, "i2c_write") == 0){
CHKARGS (2);
int i2c_addr = strtol (argv[optind], 0, 0);
- int len;
+ int len
= 0
;
char *hex_string = argv[optind + 1];
unsigned char *buf = hex_string_to_binary (hex_string, &len);
if (buf == 0)