diff --git a/vd960DBN/BLE/OnlyUpdateApp_Peripheral/APP/dbn_ble_srv.c b/vd960DBN/BLE/OnlyUpdateApp_Peripheral/APP/dbn_ble_srv.c index 46dd290..27b1ced 100644 --- a/vd960DBN/BLE/OnlyUpdateApp_Peripheral/APP/dbn_ble_srv.c +++ b/vd960DBN/BLE/OnlyUpdateApp_Peripheral/APP/dbn_ble_srv.c @@ -39,6 +39,12 @@ void clear_buf_dbn_ble(Buf_DBN_BLE * buf) { uint8_t i = 0; + if(buf->flag) + { + PRINT("CLEAR busy resp: amt=%d seq=%d off=%d ret=%08lx\n", + buf->pkg_amount, buf->pkg_seq, buf->dat_offset, + (unsigned long)__builtin_return_address(0)); + } buf->flag = 0; buf->magic = 0;