Removing call to function that doesn't exist

pull/1655/head
Salim Blume 2022-04-04 15:55:14 -05:00
parent d27deac8aa
commit d89db8f7d7
1 changed files with 2 additions and 2 deletions

View File

@ -108,7 +108,7 @@
var sensorContact;
if (flags & 2){
sensorContact = (flags & 4) ? true : false;
sensorContact = !!(flags & 4);
}
var idx = 2 + (flags&1);
@ -297,7 +297,7 @@
});
} else if (newCharacteristic.read){
result = result.then(()=>{
readData(newCharacteristic);
// readData(newCharacteristic);
log("Reading data for " + newCharacteristic);
return newCharacteristic.read().then((data)=>{
supportedCharacteristics[newCharacteristic.uuid].handler(data);