diff options
-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); } |