Removing extra params from a BLE read in WeDo2.

This commit is contained in:
Evelyn Eastmond 2018-12-01 10:56:14 -05:00
parent 156b1bc21a
commit f030afbdc5

View file

@ -787,9 +787,7 @@ class WeDo2 {
_checkBatteryLevel () { _checkBatteryLevel () {
this._ble.read( this._ble.read(
BLEService.DEVICE_SERVICE, BLEService.DEVICE_SERVICE,
BLECharacteristic.LOW_VOLTAGE_ALERT, BLECharacteristic.LOW_VOLTAGE_ALERT
false,
this._onMessage // will ignore result
); );
} }