diff options
author | root <root@lamia.panaceas.james.local> | 2015-09-04 11:58:59 +0100 |
---|---|---|
committer | root <root@lamia.panaceas.james.local> | 2015-09-04 11:58:59 +0100 |
commit | 0c93bd91c87bc57e5e36f5d13958e9b4a759149f (patch) | |
tree | 577eead7a90d31a50cc8cfcd9349aab28afa4c0c | |
parent | 96906163eed523958a7f6ff08281083fe0ae3f2d (diff) | |
download | nrfdfu-0c93bd91c87bc57e5e36f5d13958e9b4a759149f.tar.gz nrfdfu-0c93bd91c87bc57e5e36f5d13958e9b4a759149f.tar.bz2 nrfdfu-0c93bd91c87bc57e5e36f5d13958e9b4a759149f.zip |
tidy
-rw-r--r-- | dfu.c | 4 | ||||
-rw-r--r-- | nrfdfu.c | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -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); } @@ -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); } |