Skip to content

Commit

Permalink
Fix typo for requestTime logging
Browse files Browse the repository at this point in the history
  • Loading branch information
dxdc authored May 4, 2020
1 parent fd2022d commit bd4a920
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ BlindsHTTPAccessory.prototype.setTargetPosition = function(pos, callback) {
const waitDelay = Math.abs(this.currentTargetPosition - this.lastPosition) * motionTimeStep;

this.log.info(
`Move request sent ({$requestTime} ms), waiting ${Math.round(waitDelay / 100) / 10}s (+ ${Math.round(this.responseLag / 100) / 10}s response lag)...`
`Move request sent (${requestTime} ms), waiting ${Math.round(waitDelay / 100) / 10}s (+ ${Math.round(this.responseLag / 100) / 10}s response lag)...`
);

// Send stop command before target position is reached to account for response_lag
Expand Down

0 comments on commit bd4a920

Please sign in to comment.