Browse Source

Merge commit '54b1777' into bfgminer

Luke Dashjr 12 years ago
parent
commit
4a37702be4
1 changed files with 2 additions and 0 deletions
  1. 2 0
      fpgautils.c

+ 2 - 0
fpgautils.c

@@ -917,6 +917,8 @@ int set_serial_rts(int fd, int rts)
 	if (!fd)
 		return -1;
 
+	ioctl(fd, TIOCMGET, &flags);
+	
 	if (rts)
 		flags |= TIOCM_RTS;
 	else