mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
Fix call to IOCTL_SERIAL_PURGE
svn path=/trunk/; revision=22213
This commit is contained in:
parent
bfa0a5c6e1
commit
1988057885
1 changed files with 1 additions and 1 deletions
|
@ -338,7 +338,7 @@ SerenumDetectPnpDevice(
|
|||
if (!NT_SUCCESS(Status)) goto ByeBye;
|
||||
Purge = SERIAL_PURGE_RXABORT | SERIAL_PURGE_RXCLEAR;
|
||||
Status = DeviceIoControl(LowerDevice, IOCTL_SERIAL_PURGE,
|
||||
&Purge, 0, NULL, NULL);
|
||||
&Purge, sizeof(ULONG), NULL, NULL);
|
||||
if (!NT_SUCCESS(Status)) goto ByeBye;
|
||||
Wait(200);
|
||||
|
||||
|
|
Loading…
Reference in a new issue