1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-12-01 12:24:14 +01:00

increased wait time for Leonardo uploading to 8 seconds

This commit is contained in:
Zach Eveland 2012-02-06 15:27:44 -05:00
parent f2d5ea87ad
commit 731ee15f0e

View File

@ -85,7 +85,7 @@ public class AvrdudeUploader extends Uploader {
Serial serial = new Serial(Integer.parseInt(boardPreferences.get("upload.speed")));
serial.dispose();
serial = null;
Thread.sleep(2000);
Thread.sleep(8000);
} catch (SerialException ex) {
} catch (InterruptedException ex) { }
}