aboutsummaryrefslogtreecommitdiffstats
path: root/support/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'support/scripts')
-rwxr-xr-xsupport/scripts/reset.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/support/scripts/reset.py b/support/scripts/reset.py
index 6a24f6a..54a7aee 100755
--- a/support/scripts/reset.py
+++ b/support/scripts/reset.py
@@ -111,9 +111,10 @@ try:
ser.setDTR(0)
time.sleep(0.01)
ser.write("1EAF".encode("ascii"))
+ ser.flush()
- # Windows quirk: delay a bit before proceeding
- if plat_sys == 'Windows': time.sleep(0.5)
+ # Delay a bit before proceeding
+ time.sleep(0.1)
finally:
# ok we're done here
ser.close()