A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/espressif/esp-idf/commit/f41f731c567d97ac64b8c63fd9be958162270bc0 below:

Merge branch 'fix/build_error_in_compiler_performance_mode_v5.0' into… · espressif/esp-idf@f41f731 · GitHub

File tree Expand file treeCollapse file tree 2 files changed

+16

-3

lines changed

Filter options

Expand file treeCollapse file tree 2 files changed

+16

-3

lines changed Original file line number Diff line number Diff line change

@@ -243,13 +243,16 @@ void bta_ag_del_records(tBTA_AG_SCB *p_scb, tBTA_AG_DATA *p_data)

243 243

UNUSED(p_data);

244 244 245 245

/* get services of all other registered servers */

246 -

for (i = 0; i < BTA_AG_NUM_IDX; i++, p++) {

246 +

for (i = 0; i < BTA_AG_NUM_IDX; i++) {

247 247

if (p_scb == p) {

248 248

continue;

249 249

}

250 250

if (p->in_use && p->dealloc == FALSE) {

251 251

others |= p->reg_services;

252 252

}

253 +

if (i < BTA_AG_NUM_SCB) {

254 +

p++;

255 +

}

253 256

}

254 257

others >>= BTA_HSP_SERVICE_ID;

255 258

services = p_scb->reg_services >> BTA_HSP_SERVICE_ID;

Original file line number Diff line number Diff line change

@@ -1248,10 +1248,15 @@ void bta_jv_delete_record(tBTA_JV_MSG *p_data)

1248 1248

*******************************************************************************/

1249 1249

static void bta_jv_l2cap_client_cback(UINT16 gap_handle, UINT16 event)

1250 1250

{

1251 +

if (gap_handle >= BTA_JV_MAX_L2C_CONN) {

1252 +

APPL_TRACE_WARNING("Invalid gap_handle: %u", gap_handle);

1253 +

return;

1254 +

}

1255 + 1251 1256

tBTA_JV_L2C_CB *p_cb = &bta_jv_cb.l2c_cb[gap_handle];

1252 1257

tBTA_JV evt_data = {0};

1253 1258 1254 -

if (gap_handle >= BTA_JV_MAX_L2C_CONN && !p_cb->p_cback) {

1259 +

if (!p_cb->p_cback) {

1255 1260

return;

1256 1261

}

1257 1262

@@ -1402,12 +1407,17 @@ void bta_jv_l2cap_close(tBTA_JV_MSG *p_data)

1402 1407

*******************************************************************************/

1403 1408

static void bta_jv_l2cap_server_cback(UINT16 gap_handle, UINT16 event)

1404 1409

{

1410 +

if (gap_handle >= BTA_JV_MAX_L2C_CONN) {

1411 +

APPL_TRACE_WARNING("Invalid gap_handle: %u", gap_handle);

1412 +

return;

1413 +

}

1414 + 1405 1415

tBTA_JV_L2C_CB *p_cb = &bta_jv_cb.l2c_cb[gap_handle];

1406 1416

tBTA_JV evt_data = {0};

1407 1417

tBTA_JV_L2CAP_CBACK *p_cback;

1408 1418

void *user_data;

1409 1419 1410 -

if (gap_handle >= BTA_JV_MAX_L2C_CONN && !p_cb->p_cback) {

1420 +

if (!p_cb->p_cback) {

1411 1421

return;

1412 1422

}

1413 1423

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4