Reduce drain timeout value for Windows in urclock.c

This commit is contained in:
Stefan Rueger 2022-11-22 00:49:34 +00:00
parent 2e398916a7
commit f9aea24fba
No known key found for this signature in database
GPG Key ID: B0B4F1FD86B1EC55
1 changed files with 0 additions and 2 deletions

View File

@ -2154,9 +2154,7 @@ static int urclock_open(PROGRAMMER *pgm, const char *port) {
usleep((80+ur.delay)*1000); // Wait until board comes out of reset
// Drain any extraneous input
#ifndef WIN32
serial_drain_timeout = 80; // ms
#endif
serial_drain(&pgm->fd, 0);
if(urclock_getsync(pgm) < 0)