diff options
| author | root <root@lamia.panaceas.james.local> | 2015-09-04 12:00:23 +0100 |
|---|---|---|
| committer | root <root@lamia.panaceas.james.local> | 2015-09-04 12:00:23 +0100 |
| commit | cf8d69ad09fc425e6ffb4e5c40ee927c59ce1693 (patch) | |
| tree | 80b8ed25404a4d1ab9fa3ac670f1ba12e50c714e | |
| parent | 0c93bd91c87bc57e5e36f5d13958e9b4a759149f (diff) | |
| download | nrfdfu-master.tar.gz nrfdfu-master.tar.bz2 nrfdfu-master.zip | |
| -rw-r--r-- | dfu.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -245,11 +245,9 @@ 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); + ble_close (b); } - - - ble_close (b); return -1; } |
