mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-01 02:41:48 +00:00
Switches AnalogInputs and AnalogTriggers to Handles (#117)
Results in a breaking change to AnalogTrigger int constructor. If a user wants multiple AnalogTriggers, they must use the AnalogInput constructor.
This commit is contained in:
committed by
Peter Johnson
parent
77a1af44c4
commit
e8e052712e
@@ -15,6 +15,11 @@ namespace hal {
|
||||
priority_recursive_mutex analogRegisterWindowMutex;
|
||||
tAI* analogInputSystem = nullptr;
|
||||
tAO* analogOutputSystem = nullptr;
|
||||
|
||||
IndexedHandleResource<HalAnalogInputHandle, hal::AnalogPort, kAnalogInputPins,
|
||||
HalHandleEnum::AnalogInput>
|
||||
analogInputHandles;
|
||||
|
||||
static uint32_t analogNumChannelsToActivate = 0;
|
||||
|
||||
bool analogSystemInitialized = false;
|
||||
|
||||
Reference in New Issue
Block a user