mirror of
https://github.com/reactos/reactos.git
synced 2024-07-21 11:48:04 +00:00
[PORTCLS]
- Add sanity checks svn path=/trunk/; revision=47817
This commit is contained in:
parent
fa19c99aca
commit
4186c83e7b
|
@ -1222,6 +1222,10 @@ CPortPinWaveCyclic::Init(
|
|||
// delay of 10 milisec
|
||||
m_Delay = Int32x32To64(10, -10000);
|
||||
|
||||
// sanity checks
|
||||
PC_ASSERT(m_CommonBufferSize);
|
||||
PC_ASSERT(m_CommonBuffer);
|
||||
|
||||
Status = m_Stream->SetNotificationFreq(10, &m_FrameSize);
|
||||
PC_ASSERT(NT_SUCCESS(Status));
|
||||
PC_ASSERT(m_FrameSize);
|
||||
|
|
Loading…
Reference in a new issue