mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-12 13:27:36 +00:00
bluetooth: fix missing braces and indentation
This commit is contained in:

committed by
Ivan Grokhotkov

parent
ed546797d0
commit
e8eb8cb2a4
@@ -578,7 +578,7 @@ void bta_gattc_clear_notif_registration(tBTA_GATTC_SERV *p_srcb, UINT16 conn_id,
|
|||||||
for (i = 0 ; i < BTA_GATTC_NOTIF_REG_MAX; i ++) {
|
for (i = 0 ; i < BTA_GATTC_NOTIF_REG_MAX; i ++) {
|
||||||
if (p_clrcb->notif_reg[i].in_use &&
|
if (p_clrcb->notif_reg[i].in_use &&
|
||||||
!bdcmp(p_clrcb->notif_reg[i].remote_bda, remote_bda))
|
!bdcmp(p_clrcb->notif_reg[i].remote_bda, remote_bda))
|
||||||
|
{
|
||||||
/* It's enough to get service or characteristic handle, as
|
/* It's enough to get service or characteristic handle, as
|
||||||
* clear boundaries are always around service.
|
* clear boundaries are always around service.
|
||||||
*/
|
*/
|
||||||
@@ -587,6 +587,7 @@ void bta_gattc_clear_notif_registration(tBTA_GATTC_SERV *p_srcb, UINT16 conn_id,
|
|||||||
memset(&p_clrcb->notif_reg[i], 0, sizeof(tBTA_GATTC_NOTIF_REG));
|
memset(&p_clrcb->notif_reg[i], 0, sizeof(tBTA_GATTC_NOTIF_REG));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
APPL_TRACE_ERROR("can not clear indication/notif registration for unknown app");
|
APPL_TRACE_ERROR("can not clear indication/notif registration for unknown app");
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user