Skip to content

Commit a404f24

Browse files
authored and
committed
updated submodules
1 parent fa1bb03 commit a404f24

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tinyfpga-programmer-gui.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ def program(self, filename, progress):
146146
program_failure = True
147147

148148
def checkPortStatus(self, update_button_state):
149-
with serial.Serial(self.port[0], 12000000, timeout=2.0, writeTimeout=0.1) as ser:
149+
with serial.Serial(self.port[0], 12000000, timeout=.5, writeTimeout=0.1) as ser:
150150
async_serial = tinyfpgaa.AsyncSerial(ser)
151151
pins = tinyfpgaa.JtagTinyFpgaProgrammer(async_serial)
152152
jtag = tinyfpgaa.Jtag(pins)
@@ -288,7 +288,7 @@ def check_port_status_task():
288288
update_button_state(new_serial_port_ready = False)
289289

290290

291-
r.after(100, check_port_status_task)
291+
r.after(500, check_port_status_task)
292292

293293

294294
check_port_status_task()

0 commit comments

Comments
 (0)