mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-08-28 22:30:40 -04:00
Allow extension to force to write without response as well as with response
This commit is contained in:
parent
0a5673d5d3
commit
fbbccacd74
1 changed files with 1 additions and 1 deletions
|
@ -153,7 +153,7 @@ class BLE extends JSONRPC {
|
|||
if (encoding) {
|
||||
params.encoding = encoding;
|
||||
}
|
||||
if (withResponse) {
|
||||
if (withResponse !== null) {
|
||||
params.withResponse = withResponse;
|
||||
}
|
||||
return this.sendRemoteRequest('write', params)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue