Skip to content

Commit

Permalink
changed command used to define connection speed (see issue #1 comment #2
Browse files Browse the repository at this point in the history
)

task 1: Add an option to change the connection speed 
https://github.com/HvB/UsbGps4Droid/issues/issue/1
  • Loading branch information
HvB committed Aug 14, 2012
1 parent 68f1adf commit d77a817
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,8 @@ public void run() {
Process p = Runtime.getRuntime().exec("su");
// change device speed
PrintStream os = new PrintStream(p.getOutputStream(),true);
os.println("stty -F "+ gpsDev.getAbsolutePath() + " ispeed "+deviceSpeed);
// os.println("stty -F "+ gpsDev.getAbsolutePath() + " ispeed "+deviceSpeed);
os.println("busybox stty -F "+ gpsDev.getAbsolutePath() + " ispeed "+deviceSpeed);
// exit
os.println("exit");
try {
Expand Down

0 comments on commit d77a817

Please sign in to comment.