mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
- Silence a soundblaster warning on release build
svn path=/trunk/; revision=42516
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user