aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--dfu.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/dfu.c b/dfu.c
index 29dc4cd..e4a5ecb 100644
--- a/dfu.c
+++ b/dfu.c
@@ -238,7 +238,8 @@ dfu (const char *bdaddr, const char *type, const char *version, uint8_t * dat,
if (b)
{
buf[0] = OP_CODE_SYS_RESET;
- ble_send_cp (b, buf, 1);
+ ble_send_cp_noresp (b, buf, 1);
+ sleep(1);
}