code/WPILib/SensorBase.cpp
/**
 * Verify that the solenoid channel number is within limits.
 */
Verify that the solenoid channel number is within limits.
Verify that the solenoid channel number is within limits .
bool SensorBase::CheckSolenoidChannel(UINT32 channel)
{
	if (channel > 0 && channel <= kSolenoidChannels)
		return true;
	wpi_fatal(IndexOutOfRange);
	return false;
}
bool SensorBase :: CheckSolenoidChannel ( UINT32 channel ) { if ( channel > 0 && channel <= kSolenoidChannels ) return true ; wpi_fatal ( IndexOutOfRange ) ; return false ; }
Verify that the solenoid channel number is within limits.
Verify that the solenoid channel number is within limits .