code/WPILib/CInterfaces/CPWM.cpp
/**
 * Delete a PWM
 * Delete a PWM and free up all the associated resources for this object.
 *
 * @param slot The slot the digital module is plugged into that corresponds to this serial port
 * @param channel The PWM channel for this PWM object
 */
Delete a PWM
Delete a PWM and free up all the associated resources for this object.

@param slot The slot the digital module is plugged into that corresponds to this serial port
@param channel The PWM channel for this PWM object
Delete a PWM Delete a PWM and free up all the associated resources for this object . @param slot The slot the digital module is plugged into that corresponds to this serial port @param channel The PWM channel for this PWM object
void DeletePWM(UINT32 slot, UINT32 channel)
{
	if (SensorBase::CheckPWMModule(slot) && SensorBase::CheckPWMChannel(channel))
	{
		PWMs[DigitalModule::SlotToIndex(slot)][channel - 1] = NULL;
	}
}
void DeletePWM ( UINT32 slot , UINT32 channel ) { if ( SensorBase :: CheckPWMModule ( slot ) && SensorBase :: CheckPWMChannel ( channel ) ) { PWMs [ DigitalModule :: SlotToIndex ( slot ) ] [ channel - 1 ] = NULL ; } }
Delete a PWM
 Delete a PWM and free up all the associated resources for this object.
Delete a PWM Delete a PWM and free up all the associated resources for this object .