code/WPILib/SensorBase.cpp
/**
 * Verify that the solenoid module is correct.
 * Verify that the solenoid module is slot 8 or 7.
 */
Verify that the solenoid module is correct.
Verify that the solenoid module is slot 8 or 7.
Verify that the solenoid module is correct . Verify that the solenoid module is slot 8 or 7 .
bool SensorBase::CheckSolenoidModule(UINT32 slot)
{
	if (slot <= kChassisSlots && modulePopulation[slot] == 9472)
		return true;
	wpi_fatal(IndexOutOfRange);
	return false;
}
bool SensorBase :: CheckSolenoidModule ( UINT32 slot ) { if ( slot <= kChassisSlots && modulePopulation [ slot ] == 9472 ) return true ; wpi_fatal ( IndexOutOfRange ) ; return false ; }
Verify that the solenoid module is correct.
Verify that the solenoid module is correct .