mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-23 06:23:37 -05:00
Satisfy linter
This commit is contained in:
parent
f2f4af2590
commit
daccdb0a71
1 changed files with 2 additions and 2 deletions
|
@ -156,13 +156,13 @@ class GdxFor {
|
|||
});
|
||||
this._device.on('measurements-started', () => {
|
||||
this._sensorsEnabled = true;
|
||||
})
|
||||
});
|
||||
this._device.start(10); // Set the period to 10 milliseconds
|
||||
}
|
||||
|
||||
/**
|
||||
* Device is connected and measurements enabled
|
||||
* @private
|
||||
* @return {boolean} - whether the goforce is connected and measurements started.
|
||||
*/
|
||||
_canReadSensors () {
|
||||
return this.isConnected() && this._sensorsEnabled;
|
||||
|
|
Loading…
Reference in a new issue