mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 11:29:27 +02:00
* Should compile without c operators
git-svn-id: trunk@26869 -
This commit is contained in:
parent
8f6d8b849e
commit
3a34a371b3
@ -420,13 +420,13 @@ begin
|
||||
repeat
|
||||
if mSec < quantum then begin
|
||||
Sleep(mSec);
|
||||
mSec := 0
|
||||
mSec := 0;
|
||||
end else begin
|
||||
Sleep(quantum);
|
||||
mSec -= quantum
|
||||
mSec := msec-quantum;
|
||||
end;
|
||||
if (mSec > 0) and Assigned(SerialIdle) then
|
||||
SerialIdle(Handle)
|
||||
SerialIdle(Handle);
|
||||
until mSec <= 0;
|
||||
ClearCommBreak(Handle);
|
||||
if sync then
|
||||
|
Loading…
Reference in New Issue
Block a user