mirror of
https://github.com/reactos/reactos.git
synced 2024-08-03 01:50:57 +00:00
[USBEHCI_NEW]
- hub_controller.cpp: Change RtlSetBit and RtlClearBit to RtlSetBtis and RtlClearBits for Win2k compatibility. svn path=/branches/usb-bringup/; revision=51488
This commit is contained in:
parent
e8cf4c5591
commit
f48754e09b
|
@ -1461,7 +1461,7 @@ CHubController::AcquireDeviceAddress()
|
|||
//
|
||||
// reserve address
|
||||
//
|
||||
RtlSetBit(&m_DeviceAddressBitmap, DeviceAddress);
|
||||
RtlSetBits(&m_DeviceAddressBitmap, DeviceAddress, 1);
|
||||
|
||||
//
|
||||
// device addresses start from 0x1 - 0xFF
|
||||
|
@ -1504,7 +1504,7 @@ CHubController::ReleaseDeviceAddress(
|
|||
//
|
||||
// clear bit
|
||||
//
|
||||
RtlClearBit(&m_DeviceAddressBitmap, DeviceAddress);
|
||||
RtlClearBits(&m_DeviceAddressBitmap, DeviceAddress, 1);
|
||||
|
||||
//
|
||||
// release lock
|
||||
|
|
Loading…
Reference in a new issue