aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);
}