mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-25 01:41:43 +00:00
Switches PWM and DIO to Handles (#120)
This commit is contained in:
committed by
Peter Johnson
parent
9b2af0d090
commit
3593ecb17e
@@ -66,3 +66,10 @@ uint32_t AnalogTriggerOutput::GetModuleForRouting() const { return 0; }
|
||||
* @return The value to be written to the module field of a routing mux.
|
||||
*/
|
||||
bool AnalogTriggerOutput::GetAnalogTriggerForRouting() const { return true; }
|
||||
|
||||
/**
|
||||
* @return The HAL Handle to the specified source.
|
||||
*/
|
||||
HalHandle AnalogTriggerOutput::GetPortHandle() const {
|
||||
return m_trigger.m_trigger;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user