mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-22 08:22:04 +03:00
increased wait time for Leonardo uploading to 8 seconds
This commit is contained in:
@ -85,7 +85,7 @@ public class AvrdudeUploader extends Uploader {
|
|||||||
Serial serial = new Serial(Integer.parseInt(boardPreferences.get("upload.speed")));
|
Serial serial = new Serial(Integer.parseInt(boardPreferences.get("upload.speed")));
|
||||||
serial.dispose();
|
serial.dispose();
|
||||||
serial = null;
|
serial = null;
|
||||||
Thread.sleep(2000);
|
Thread.sleep(8000);
|
||||||
} catch (SerialException ex) {
|
} catch (SerialException ex) {
|
||||||
} catch (InterruptedException ex) { }
|
} catch (InterruptedException ex) { }
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user