mirror of
https://github.com/Zeal-Operating-System/ZealOS.git
synced 2024-12-25 15:10:28 +00:00
Fix KUSB.ZC pointer star formatting.
This commit is contained in:
parent
645f383a9f
commit
f23a32d331
1 changed files with 9 additions and 10 deletions
|
@ -59,8 +59,7 @@ MemSet(sys_usb_devs, 0, USB_NUM* sizeof(CUSB));
|
|||
U0 USBInitOne(I64 b, I64 d, I64 f)
|
||||
{
|
||||
CUSB *u;
|
||||
if (sys_num_usb < USB_NUM &&
|
||||
PCIReadU16(b, d, f, 0) == 0x8086)
|
||||
if (sys_num_usb < USB_NUM && PCIReadU16(b, d, f, 0) == 0x8086)
|
||||
{
|
||||
u = &sys_usb_devs[sys_num_usb++];
|
||||
u->num = sys_num_usb;
|
||||
|
|
Loading…
Reference in a new issue