From 30537b36b94f844d39b59c9855a0e275818fd87f Mon Sep 17 00:00:00 2001 From: "David A. Mellis" Date: Thu, 19 Jul 2007 01:32:18 +0000 Subject: [PATCH] Avrdude isn't using cygwin, so it uses normal COM1 device names, not /dev/com1 --- app/AvrdudeUploader.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/app/AvrdudeUploader.java b/app/AvrdudeUploader.java index 91292f0dd..65e255480 100755 --- a/app/AvrdudeUploader.java +++ b/app/AvrdudeUploader.java @@ -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")); }