code/WPILib/DigitalInput.cpp
/**
 * Free resources associated with the Digital Input class.
 */
Free resources associated with the Digital Input class.
Free resources associated with the Digital Input class .
DigitalInput::~DigitalInput()
{
	if (m_manager != NULL)
	{
		delete m_manager;
		delete m_interrupt;
		interruptsResource->Free(m_interruptIndex);
	}
	m_module->FreeDIO(m_channel);
}
DigitalInput :: ~ DigitalInput ( ) { if ( m_manager != NULL ) { delete m_manager ; delete m_interrupt ; interruptsResource -> Free ( m_interruptIndex ) ; } m_module -> FreeDIO ( m_channel ) ; }
Free resources associated with the Digital Input class.
Free resources associated with the Digital Input class .