mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-23 06:23:37 -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 () {
|
||||
this._ble.read(
|
||||
BLEService.DEVICE_SERVICE,
|
||||
BLECharacteristic.LOW_VOLTAGE_ALERT,
|
||||
false,
|
||||
this._onMessage // will ignore result
|
||||
BLECharacteristic.LOW_VOLTAGE_ALERT
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue