diff options
author | root <root@lamia.panaceas.james.local> | 2015-09-04 11:07:53 +0100 |
---|---|---|
committer | root <root@lamia.panaceas.james.local> | 2015-09-04 11:07:53 +0100 |
commit | 96906163eed523958a7f6ff08281083fe0ae3f2d (patch) | |
tree | 9b39a5c3b082b687e6da3d3c85ea8afee22ee539 | |
parent | b0ad49a7b57b8e567d84e99e37033506af2678cb (diff) | |
download | nrfdfu-96906163eed523958a7f6ff08281083fe0ae3f2d.tar.gz nrfdfu-96906163eed523958a7f6ff08281083fe0ae3f2d.tar.bz2 nrfdfu-96906163eed523958a7f6ff08281083fe0ae3f2d.zip |
fish
-rw-r--r-- | nrfdfu.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -34,8 +34,6 @@ main (int argc, char *argv[]) size_t dat_size; - int tries = 3; - while ((opt = getopt (argc, argv, "b:p:")) != -1) { @@ -71,7 +69,7 @@ main (int argc, char *argv[]) (unsigned) bin_size); - while (tries--) + while (1) { if (!dfu (bdaddr, m->type, m->dfu_version, dat, dat_size, bin, bin_size)) |