Permalink
Browse files

Fixed global leak

  • Loading branch information...
1 parent 3793d6b commit 87ecabce3a4067ae3b30fc8c864005eb977d42e3 @nulltask nulltask committed Jun 13, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/servo.js
View
@@ -86,7 +86,7 @@ Servo.prototype.sweep = function (options) {
// sweep settings
lapse = options.lapse || 2000,
to = options.to || 180,
- from = options.from || 1;
+ from = options.from || 1,
// sweep handlers
doSweep = function doSweep(pos) {
// this.board.log('info', 'current position: ', pos);

0 comments on commit 87ecabc

Please sign in to comment.