mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-03-02 13:05:42 +08:00
* fhandler_serial.cc (tcsendbreak): "sleeptime" argument to usleep()
must be in units of microseconds, not milliseconds.
This commit is contained in:
parent
5678e1954a
commit
c51a2a8ba4
@ -1,3 +1,8 @@
|
|||||||
|
Tue Aug 8 13:20:00 2000 Bob Wilson <bwilson@tensilica.com>
|
||||||
|
|
||||||
|
* fhandler_serial.cc (tcsendbreak): "sleeptime" argument to usleep()
|
||||||
|
must be in units of microseconds, not milliseconds.
|
||||||
|
|
||||||
Mon Aug 7 00:11:35 2000 Christopher Faylor <cgf@cygnus.com>
|
Mon Aug 7 00:11:35 2000 Christopher Faylor <cgf@cygnus.com>
|
||||||
|
|
||||||
* include/cygwin/cygwin_dll.h: Remove extraneous (and incorrect)
|
* include/cygwin/cygwin_dll.h: Remove extraneous (and incorrect)
|
||||||
|
@ -285,7 +285,7 @@ fhandler_serial::close ()
|
|||||||
int
|
int
|
||||||
fhandler_serial::tcsendbreak (int duration)
|
fhandler_serial::tcsendbreak (int duration)
|
||||||
{
|
{
|
||||||
unsigned int sleeptime = 300;
|
unsigned int sleeptime = 300000;
|
||||||
|
|
||||||
if (duration > 0)
|
if (duration > 0)
|
||||||
sleeptime *= duration;
|
sleeptime *= duration;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user