forked from platformio/platformio-core
Wait for 400ms after touching serial port (fix SAM-BA issue)
This commit is contained in:
@@ -48,6 +48,7 @@ def TouchSerialPort(env, port, baudrate):
|
|||||||
s.close()
|
s.close()
|
||||||
except: # pylint: disable=W0702
|
except: # pylint: disable=W0702
|
||||||
pass
|
pass
|
||||||
|
sleep(0.4)
|
||||||
|
|
||||||
|
|
||||||
def WaitForNewSerialPort(env, before):
|
def WaitForNewSerialPort(env, before):
|
||||||
|
Reference in New Issue
Block a user