* fhandler_serial.cc (tcsendbreak): "sleeptime" argument to usleep()

must be in units of microseconds, not milliseconds.
This commit is contained in:
DJ Delorie
2000-08-08 20:46:47 +00:00
parent 5678e1954a
commit c51a2a8ba4
2 changed files with 6 additions and 1 deletions

View File

@ -285,7 +285,7 @@ fhandler_serial::close ()
int
fhandler_serial::tcsendbreak (int duration)
{
unsigned int sleeptime = 300;
unsigned int sleeptime = 300000;
if (duration > 0)
sleeptime *= duration;