mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-02 02:51:42 +00:00
Adds port constants to the HAL (#130)
This commit is contained in:
committed by
Peter Johnson
parent
0e127679c1
commit
b45e0917ae
@@ -11,6 +11,7 @@
|
||||
#include "HAL/AnalogInput.h"
|
||||
#include "HAL/Errors.h"
|
||||
#include "HAL/cpp/Resource.h"
|
||||
#include "PortsInternal.h"
|
||||
#include "handles/HandlesInternal.h"
|
||||
#include "handles/LimitedHandleResource.h"
|
||||
|
||||
@@ -25,8 +26,7 @@ struct AnalogTrigger {
|
||||
}
|
||||
|
||||
static LimitedHandleResource<HalAnalogTriggerHandle, AnalogTrigger,
|
||||
tAnalogTrigger::kNumSystems,
|
||||
HalHandleEnum::AnalogTrigger>
|
||||
kNumAnalogTriggers, HalHandleEnum::AnalogTrigger>
|
||||
analogTriggerHandles;
|
||||
|
||||
extern "C" {
|
||||
|
||||
Reference in New Issue
Block a user