Browse Source

Bugfix: twinfury: Remove incorrect tcflush

Luke Dashjr 12 years ago
parent
commit
e6e8c912d7
1 changed files with 0 additions and 2 deletions
  1. 0 2
      driver-twinfury.c

+ 0 - 2
driver-twinfury.c

@@ -27,7 +27,6 @@
 
 
 #include <stdio.h>
 #include <stdio.h>
 #include <pthread.h>
 #include <pthread.h>
-#include <termios.h>
 
 
 BFG_REGISTER_DRIVER(twinfury_drv)
 BFG_REGISTER_DRIVER(twinfury_drv)
 
 
@@ -45,7 +44,6 @@ static bool twinfury_send_command(int fd, uint8_t *tx, uint16_t tx_size)
 	{
 	{
 		return false;
 		return false;
 	}
 	}
-	tcflush(fd, TCIOFLUSH);
 
 
 	return true;
 	return true;
 }
 }