#include <ctype.h>
#include <termios.h>
#include <unistd.h>
+#include <sys/time.h>
/* Application header files */
#include "io.h"
FD_ZERO( &rfds );
FD_SET( 0, &rfds );
tv.tv_sec = 0;
- tv.tv_usec = 250;
+ tv.tv_usec = 40000;
n = select( 1, &rfds, NULL, NULL, &tv );
if (n > 0)
{