Skip to content

Commit 9f84ae1

Browse files
committed
Workaround for IDE crash when uploading on Leonardo (and derivatives) on Linux
1 parent c4753e9 commit 9f84ae1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/cc/arduino/packages/uploaders/SerialUploader.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ public boolean uploadUsingPreferences(String buildPath, String className,
141141
// sketch serial port reconnects (or timeout after a few seconds if the
142142
// sketch port never comes back). Doing this saves users from accidentally
143143
// opening Serial Monitor on the soon-to-be-orphaned bootloader port.
144-
Thread.sleep(500);
144+
Thread.sleep(1000);
145145
long timeout = System.currentTimeMillis() + 2000;
146146
while (timeout > System.currentTimeMillis()) {
147147
List<String> portList = Serial.list();

0 commit comments

Comments
 (0)