mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-08-28 22:30:40 -04:00
Shorten a comment.
This commit is contained in:
parent
b476169f84
commit
6b9c3d12ef
1 changed files with 1 additions and 5 deletions
|
@ -712,13 +712,9 @@ class EV3 {
|
||||||
|
|
||||||
const cmds = []; // a compound command
|
const cmds = []; // a compound command
|
||||||
let allocation = 0;
|
let allocation = 0;
|
||||||
|
|
||||||
let sensorCount = 0;
|
let sensorCount = 0;
|
||||||
|
|
||||||
// For the command to send, either request device list or request sensor data
|
// Reset the list of devices every 20 counts
|
||||||
// based on the polling counter value. (i.e., reset the list of devices every
|
|
||||||
// 20 counts).
|
|
||||||
|
|
||||||
if (this._pollingCounter % 20 === 0) {
|
if (this._pollingCounter % 20 === 0) {
|
||||||
// GET DEVICE LIST
|
// GET DEVICE LIST
|
||||||
cmds[0] = Ev3Opcode.OPINPUT_DEVICE_LIST;
|
cmds[0] = Ev3Opcode.OPINPUT_DEVICE_LIST;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue