From b5c58557fc66f36917dd67ab947e4edf8955c6e9 Mon Sep 17 00:00:00 2001 From: Stephen Bird Date: Fri, 12 Oct 2018 11:15:40 -0700 Subject: [PATCH] bt: Fix bracket warning Merges https://github.com/espressif/esp-idf/pull/2568 --- components/bt/bluedroid/stack/gatt/gatt_utils.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/bt/bluedroid/stack/gatt/gatt_utils.c b/components/bt/bluedroid/stack/gatt/gatt_utils.c index 5dd43a2fe7..b7608f8d92 100644 --- a/components/bt/bluedroid/stack/gatt/gatt_utils.c +++ b/components/bt/bluedroid/stack/gatt/gatt_utils.c @@ -2192,9 +2192,10 @@ void gatt_end_operation(tGATT_CLCB *p_clcb, tGATT_STATUS status, void *p_data) (*p_disc_cmpl_cb)(conn_id, disc_type, status); } else if (p_cmpl_cb && op) { (*p_cmpl_cb)(conn_id, op, status, &cb_data); - } else + } else { GATT_TRACE_WARNING ("gatt_end_operation not sent out op=%d p_disc_cmpl_cb:%p p_cmpl_cb:%p", operation, p_disc_cmpl_cb, p_cmpl_cb); + } } /******************************************************************************* -- 2.40.0