mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-08-28 22:30:40 -04:00
Passing custom alert messages with PERIPHERAL_ERROR.
This commit is contained in:
parent
e2c6c7667b
commit
96327c66f3
6 changed files with 17 additions and 9 deletions
|
@ -548,7 +548,7 @@ class EV3 {
|
|||
* Called by the runtime when user wants to scan for an EV3 peripheral.
|
||||
*/
|
||||
scan () {
|
||||
this._bt = new BT(this._runtime, {
|
||||
this._bt = new BT(this._runtime, 'EV3', {
|
||||
majorDeviceClass: 8,
|
||||
minorDeviceClass: 1
|
||||
}, this._onConnect, this._onMessage);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue