Skip to content

Commit 4383ae9

Browse files
author
Daisuke Baba
committed
Fix wrong constant name
1 parent 74942d9 commit 4383ae9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/generic-ble.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ function connectToPeripheral(peripheral, RED, forceConnect=false) {
499499
discoveryTimeout = null;
500500
onConnected = null;
501501
reject(`<${peripheral.uuid}> Discovery Timeout`);
502-
}, BLE_DISCOVERY_TIMEOUT_MS);
502+
}, BLE_CONNECTION_TIMEOUT_MS);
503503
peripheral._discovering = true;
504504
peripheral.discoverAllServicesAndCharacteristics(
505505
(err, services) => {

0 commit comments

Comments
 (0)