aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorroot <root@lamia.panaceas.james.local>2015-09-04 11:58:59 +0100
committerroot <root@lamia.panaceas.james.local>2015-09-04 11:58:59 +0100
commit0c93bd91c87bc57e5e36f5d13958e9b4a759149f (patch)
tree577eead7a90d31a50cc8cfcd9349aab28afa4c0c
parent96906163eed523958a7f6ff08281083fe0ae3f2d (diff)
downloadnrfdfu-0c93bd91c87bc57e5e36f5d13958e9b4a759149f.tar.gz
nrfdfu-0c93bd91c87bc57e5e36f5d13958e9b4a759149f.tar.bz2
nrfdfu-0c93bd91c87bc57e5e36f5d13958e9b4a759149f.zip
tidy
-rw-r--r--dfu.c4
-rw-r--r--nrfdfu.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/dfu.c b/dfu.c
index 7a72e9a..a2b252c 100644
--- a/dfu.c
+++ b/dfu.c
@@ -231,7 +231,7 @@ dfu (const char *bdaddr, const char *type, const char *version, uint8_t * dat,
if (ble_send_cp_noresp (b, buf, 1))
break;
- printf("Success....\n");
+ printf ("Success....\n");
ble_close (b);
return 0;
@@ -244,7 +244,7 @@ dfu (const char *bdaddr, const char *type, const char *version, uint8_t * dat,
{
buf[0] = OP_CODE_SYS_RESET;
ble_send_cp_noresp (b, buf, 1);
- sleep(1);
+ sleep (1);
}
diff --git a/nrfdfu.c b/nrfdfu.c
index cfa9400..6346541 100644
--- a/nrfdfu.c
+++ b/nrfdfu.c
@@ -74,7 +74,7 @@ main (int argc, char *argv[])
if (!dfu
(bdaddr, m->type, m->dfu_version, dat, dat_size, bin, bin_size))
return EXIT_SUCCESS;
- sleep(3);
+ sleep (3);
}