mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-23 14:32:59 -05:00
Removing extra params from a BLE read in WeDo2.
This commit is contained in:
parent
156b1bc21a
commit
f030afbdc5
1 changed files with 1 additions and 3 deletions
|
@ -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
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue