mirror of
https://github.com/reactos/reactos.git
synced 2024-10-02 07:26:47 +00:00
Change the code a bit, as Hervé Poussineau points out, the interrupt vector could in some cases be zero.
svn path=/trunk/; revision=33718
This commit is contained in:
parent
e5b4190710
commit
2cb33838e4
|
@ -57,8 +57,8 @@ IntVideoPortSetupInterrupt(
|
|||
*/
|
||||
|
||||
if (DriverExtension->InitializationData.HwInterrupt != NULL &&
|
||||
ConfigInfo->BusInterruptLevel != 0 &&
|
||||
ConfigInfo->BusInterruptVector != 0)
|
||||
(ConfigInfo->BusInterruptLevel != 0 ||
|
||||
ConfigInfo->BusInterruptVector != 0))
|
||||
{
|
||||
ULONG InterruptVector;
|
||||
KIRQL Irql;
|
||||
|
|
Loading…
Reference in a new issue