mirror of
https://github.com/reactos/reactos.git
synced 2025-06-12 03:38:28 +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
1 changed files with 2 additions and 2 deletions
|
@ -1461,7 +1461,7 @@ CHubController::AcquireDeviceAddress()
|
||||||
//
|
//
|
||||||
// reserve address
|
// reserve address
|
||||||
//
|
//
|
||||||
RtlSetBit(&m_DeviceAddressBitmap, DeviceAddress);
|
RtlSetBits(&m_DeviceAddressBitmap, DeviceAddress, 1);
|
||||||
|
|
||||||
//
|
//
|
||||||
// device addresses start from 0x1 - 0xFF
|
// device addresses start from 0x1 - 0xFF
|
||||||
|
@ -1504,7 +1504,7 @@ CHubController::ReleaseDeviceAddress(
|
||||||
//
|
//
|
||||||
// clear bit
|
// clear bit
|
||||||
//
|
//
|
||||||
RtlClearBit(&m_DeviceAddressBitmap, DeviceAddress);
|
RtlClearBits(&m_DeviceAddressBitmap, DeviceAddress, 1);
|
||||||
|
|
||||||
//
|
//
|
||||||
// release lock
|
// release lock
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue