Merge pull request #964 from niw/increase_macos_ttyusbmodem_delay
Increase delay for `tty.usbmodem` on macOS.
This commit is contained in:
commit
dd5413bc9f
|
@ -314,6 +314,9 @@ class LiteXTerm:
|
||||||
if "ttyACM" in port:
|
if "ttyACM" in port:
|
||||||
self.payload_length = sfl_payload_length
|
self.payload_length = sfl_payload_length
|
||||||
self.delay = 1e-4
|
self.delay = 1e-4
|
||||||
|
elif "tty.usbmodem" in port:
|
||||||
|
self.payload_length = sfl_payload_length
|
||||||
|
self.delay = 1e-3
|
||||||
else:
|
else:
|
||||||
self.payload_length = 64
|
self.payload_length = 64
|
||||||
self.delay = 1e-5
|
self.delay = 1e-5
|
||||||
|
|
Loading…
Reference in New Issue