Exemplo n.º 1
0
/**
 * Reset the GearTooth sensor.
 * Reset the count to zero for the gear tooth sensor.
 *
 * @param slot The slot the digital module is plugged into
 * @param channel The digital I/O channel the sensor is plugged into
 */
void ResetGearTooth(UINT8 moduleNumber, UINT32 channel)
{
    GearTooth *gt = GTptr(moduleNumber, channel);
    if (gt) gt->Reset();
}
Exemplo n.º 2
0
/**
 * Reset the GearTooth sensor.
 * Reset the count to zero for the gear tooth sensor.
 *
 * @param slot The slot the digital module is plugged into
 * @param channel The digital I/O channel the sensor is plugged into
 */
void ResetGearTooth(UINT32 slot, UINT32 channel)
{
	GearTooth *gt = GTptr(slot, channel);
	if (gt) gt->Reset();
}