mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-30 01:57:13 +02:00
Remove extra delay before waiting for serial port
This commit is contained in:
@ -56,7 +56,6 @@ def WaitForNewSerialPort(env, before):
|
||||
prev_port = env.subst("$UPLOAD_PORT")
|
||||
new_port = None
|
||||
elapsed = 0
|
||||
sleep(1)
|
||||
while elapsed < 5 and new_port is None:
|
||||
now = util.get_serialports()
|
||||
for p in now:
|
||||
|
Reference in New Issue
Block a user