Restore default BMS BLE connection timeout
This commit is contained in:
@@ -317,9 +317,6 @@ static bool connectBms() {
|
|||||||
|
|
||||||
client = NimBLEDevice::createClient();
|
client = NimBLEDevice::createClient();
|
||||||
|
|
||||||
// Keep failed/out-of-range BMS attempts from freezing the web UI too long.
|
|
||||||
client->setConnectTimeout(10);
|
|
||||||
|
|
||||||
if (!client->connect(address)) {
|
if (!client->connect(address)) {
|
||||||
Serial.println("BMS: Connect failed");
|
Serial.println("BMS: Connect failed");
|
||||||
bmsData.connected = false;
|
bmsData.connected = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user