Satisfy linter

This commit is contained in:
Valerie Young 2019-01-11 16:53:47 -05:00
parent f2f4af2590
commit daccdb0a71

View file

@ -156,13 +156,13 @@ class GdxFor {
}); });
this._device.on('measurements-started', () => { this._device.on('measurements-started', () => {
this._sensorsEnabled = true; this._sensorsEnabled = true;
}) });
this._device.start(10); // Set the period to 10 milliseconds this._device.start(10); // Set the period to 10 milliseconds
} }
/** /**
* Device is connected and measurements enabled * Device is connected and measurements enabled
* @private * @return {boolean} - whether the goforce is connected and measurements started.
*/ */
_canReadSensors () { _canReadSensors () {
return this.isConnected() && this._sensorsEnabled; return this.isConnected() && this._sensorsEnabled;