increase max connections to 20 (central + prph)

This commit is contained in:
hathach committed 2019-01-21 23:13:59 +07:00
1 parent 5cdded82e9
commit d15b196fe6
7 files changed
+26 -32

No files matched your search

+1 -1
View File
@@ -104,7 +104,7 @@ bool BLECentral::connected(uint16_t conn_hdl)
uint8_t BLECentral::connected(void)
{
uint8_t count = 0;
for (uint16_t c=0; c<BLE_MAX_CONN; c++)
for (uint16_t c=0; c<BLE_MAX_CONNECTION; c++)
{
if ( this->connected(c) ) count++;
}