From ecae05cb255e830dfd293bb7a5d2da2b25582fc6 Mon Sep 17 00:00:00 2001 From: EricB-ADI <122300463+EricB-ADI@users.noreply.github.com> Date: Wed, 22 Nov 2023 14:18:01 -0600 Subject: [PATCH] Update app_slave.c --- Libraries/Cordio/ble-profiles/sources/af/app_slave.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libraries/Cordio/ble-profiles/sources/af/app_slave.c b/Libraries/Cordio/ble-profiles/sources/af/app_slave.c index c563f9e3b3e..1d3c585be65 100644 --- a/Libraries/Cordio/ble-profiles/sources/af/app_slave.c +++ b/Libraries/Cordio/ble-profiles/sources/af/app_slave.c @@ -527,7 +527,7 @@ static void appSlaveConnUpdate(dmEvt_t *pMsg, appConnCb_t *pCb) pMsg->connUpdate.connInterval <= pAppUpdateCfg->connIntervalMax; /* if successful and we got an update using one of our requested values*/ - if ((pMsg->hdr.status == HCI_SUCCESS && intervalInBetween )) + if (pMsg->hdr.status == HCI_SUCCESS && intervalInBetween) { pCb->attempts = 0; /* stop connection update timer */