mirror of
https://github.com/arduino/Arduino.git
synced 2024-12-01 12:24:14 +01:00
Avrdude isn't using cygwin, so it uses normal COM1 device names, not /dev/com1
This commit is contained in:
parent
3d1ebb5e64
commit
30537b36b9
@ -54,10 +54,7 @@ public class AvrdudeUploader extends Uploader {
|
||||
// avrdude doesn't need to be told the address of the parallel port
|
||||
//commandDownloader.add("-dlpt=" + Preferences.get("parallel.port"));
|
||||
} else {
|
||||
commandDownloader.add(
|
||||
"-P" + (Base.isWindows() ?
|
||||
"/dev/" + Preferences.get("serial.port").toLowerCase() :
|
||||
Preferences.get("serial.port")));
|
||||
commandDownloader.add("-P" + Preferences.get("serial.port"));
|
||||
commandDownloader.add(
|
||||
"-b" + Preferences.getInteger("serial.download_rate"));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user