Component/bt: modify BTA_GATTC_KNOWN_SR_MAX for Multi-connection bug
This commit is contained in:
parent
7fc25f18d2
commit
ca3bf570cd
|
@ -81,7 +81,11 @@ typedef UINT16 tBTA_GATTC_INT_EVT;
|
||||||
|
|
||||||
/* max known devices GATTC can support */
|
/* max known devices GATTC can support */
|
||||||
#ifndef BTA_GATTC_KNOWN_SR_MAX
|
#ifndef BTA_GATTC_KNOWN_SR_MAX
|
||||||
#define BTA_GATTC_KNOWN_SR_MAX 3 // 10
|
#if (GATT_MAX_PHY_CHANNEL > 3)
|
||||||
|
#define BTA_GATTC_KNOWN_SR_MAX GATT_MAX_PHY_CHANNEL
|
||||||
|
#else
|
||||||
|
#define BTA_GATTC_KNOWN_SR_MAX 3 // The origin value is 10
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define BTA_GATTC_CONN_MAX GATT_MAX_PHY_CHANNEL
|
#define BTA_GATTC_CONN_MAX GATT_MAX_PHY_CHANNEL
|
||||||
|
|
Loading…
Reference in a new issue