mirror of
https://github.com/reactos/reactos.git
synced 2024-08-07 19:58:21 +00:00
- Silence a soundblaster warning on release build
svn path=/trunk/; revision=42516
This commit is contained in:
parent
c5045dd4e7
commit
e8aa4b4280
|
@ -25,11 +25,10 @@ SbDspReset(
|
|||
IN ULONG Timeout)
|
||||
{
|
||||
ULONG Expiry;
|
||||
KIRQL CurrentIrqLevel = KeGetCurrentIrql();
|
||||
BOOLEAN DataAvailable = FALSE;
|
||||
|
||||
/* Should be called from DriverEntry with this IRQL */
|
||||
ASSERT(CurrentIrqLevel == PASSIVE_LEVEL);
|
||||
ASSERT(KeGetCurrentIrql() == PASSIVE_LEVEL);
|
||||
|
||||
WRITE_SB_DSP_RESET(BasePort, 0x01);
|
||||
SleepMs(50); /* Should be enough */
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE module SYSTEM "../../../../tools/rbuild/project.dtd">
|
||||
<module name="soundblaster" type="staticlibrary" allowwarnings="true">
|
||||
<module name="soundblaster" type="staticlibrary">
|
||||
<define name="__NTDRIVER__"/>
|
||||
<define name="KERNEL"/>
|
||||
<include base="soundblaster">.</include>
|
||||
|
|
Loading…
Reference in a new issue