Permalink
Browse files

Fix: allow a firmware directory to be passed into tpad flash

  • Loading branch information...
1 parent d6a9f51 commit 1f28624f2760fd0ff0093a2165920c771a363299 @tmpvar committed Aug 11, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 bin/tpad
View
4 bin/tpad
@@ -94,6 +94,10 @@ if (!command) {
// Disable reconnect as it gets in the way of the flashing operation
config.serialport.removeAllListeners('close');
+
+ // allow the user to specify a development version of the tpad firmware
+ config.location = argv._[1] || null;
+
flash(config);
});

0 comments on commit 1f28624

Please sign in to comment.