Skip to content

Commit ae7f986

Browse files
authored
Merge pull request #628 from dki1110/fail-indicate-on-windows
Fixed not executing undefined check on Windows
2 parents 2a899e6 + ebd38bc commit ae7f986

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/windows/BluetoothLePlugin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ module.exports = {
477477
getCharacteristic(deviceId, serviceId, characteristicId).then(function (characteristic, deviceName) {
478478
var convertedCharacteristic = convertCharacteristic(characteristic);
479479
var descriptorValue;
480-
if (isNotification === null) {
480+
if (isNotification == null) {
481481
isNotification = convertedCharacteristic.properties.notify === 'true';
482482
}
483483

0 commit comments

Comments
 (0)