Fix typo omitting "this"
This commit is contained in:
parent
e01f0f2061
commit
4eeaac0626
1 changed files with 2 additions and 2 deletions
|
|
@ -300,13 +300,13 @@ class PlejdService extends EventEmitter {
|
|||
logger('Completing transition from', initialBrightness, 'to', targetBrightness, 'in ', tElapsedMs, 'ms. Done steps', nSteps, ', skipped ' + nSkippedSteps + '. Average interval', tElapsedMs/(nSteps||1), 'ms.');
|
||||
this._setBrightness(id, newBrightness);
|
||||
}
|
||||
else if (this.writeQueue.length <= maxQueueLengthTarget) {
|
||||
else if (this.writeQueue.length <= this.maxQueueLengthTarget) {
|
||||
nSteps++;
|
||||
this._setBrightness(id, newBrightness);
|
||||
}
|
||||
else {
|
||||
nSkippedSteps++;
|
||||
logger('Skipping transition step due to write queue full as configured. Queue length', this.writeQueue.length, ', max', maxQueueLengthTarget);
|
||||
logger('Skipping transition step due to write queue full as configured. Queue length', this.writeQueue.length, ', max', this.maxQueueLengthTarget);
|
||||
}
|
||||
|
||||
}, transitionInterval);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue