Skip to content

Commit

Permalink
Increase timeout after security answer during setup wifi
Browse files Browse the repository at this point in the history
Fixes #144
  • Loading branch information
brycekahle committed Jan 23, 2016
1 parent 00710de commit ba8af05
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions commands/SerialCommand.js
Original file line number Diff line number Diff line change
Expand Up @@ -720,7 +720,7 @@ SerialCommand.prototype = extend(BaseCommand.prototype, {
security = 0;
}

return cb(security + '\n', startTimeout.bind(self, 5000));
return cb(security + '\n', startTimeout.bind(self, 10000));
}

inquirer.prompt([{
Expand All @@ -734,7 +734,7 @@ SerialCommand.prototype = extend(BaseCommand.prototype, {
{ name: 'Unsecured', value: 0 }
]
}], function(ans) {
cb(ans.security + '\n', startTimeout.bind(self, 5000));
cb(ans.security + '\n', startTimeout.bind(self, 10000));
});
});

Expand Down

0 comments on commit ba8af05

Please sign in to comment.