mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-24 23:12:24 -05:00
Removing some logging.
This commit is contained in:
parent
f511730602
commit
394b57ebb6
1 changed files with 2 additions and 2 deletions
|
@ -631,7 +631,7 @@ class EV3 {
|
||||||
array[offset + 2],
|
array[offset + 2],
|
||||||
array[offset + 3]
|
array[offset + 3]
|
||||||
]);
|
]);
|
||||||
log.info(`sensor at port ${i} ${this._sensorPorts[i]} value: ${value}`);
|
// log.info(`sensor at port ${i} ${this._sensorPorts[i]} value: ${value}`);
|
||||||
if (EV_DEVICE_LABELS[this._sensorPorts[i]] === 'button') {
|
if (EV_DEVICE_LABELS[this._sensorPorts[i]] === 'button') {
|
||||||
this._sensors.buttons[i] = value;
|
this._sensors.buttons[i] = value;
|
||||||
} else {
|
} else {
|
||||||
|
@ -651,7 +651,7 @@ class EV3 {
|
||||||
if (value > 0x7fffffff) {
|
if (value > 0x7fffffff) {
|
||||||
value = value - 0x100000000;
|
value = value - 0x100000000;
|
||||||
}
|
}
|
||||||
log.info(`motor at port ${i} ${this._motorPorts[i]} value: ${value}`);
|
// log.info(`motor at port ${i} ${this._motorPorts[i]} value: ${value}`);
|
||||||
this._motorPositions[i] = value;
|
this._motorPositions[i] = value;
|
||||||
offset += 4;
|
offset += 4;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue