File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
app/src/processing/app/debug Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -94,7 +94,9 @@ private Collection getProgrammerCommands(String programmer) {
94
94
params .add ("-Pusb" );
95
95
} else if ("serial" .equals (Preferences .get ("programmers." + programmer + ".communication" ))) {
96
96
params .add ("-P" + (Base .isWindows () ? "\\ \\ .\\ " : "" ) + Preferences .get ("serial.port" ));
97
- // XXX: add support for specifying the baud rate for serial programmers.
97
+ if (Preferences .get ("programmers." + programmer + ".speed" ) != null ) {
98
+ params .add ("-b" + Preferences .getInteger ("programmers." + programmer + ".speed" ));
99
+ }
98
100
}
99
101
// XXX: add support for specifying the port address for parallel
100
102
// programmers, although avrdude has a default that works in most cases.
You can’t perform that action at this time.
0 commit comments