mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-03 03:01:44 +00:00
Adds port constants to the HAL (#130)
This commit is contained in:
committed by
Peter Johnson
parent
0e127679c1
commit
b45e0917ae
@@ -13,6 +13,7 @@
|
||||
|
||||
#include "DigitalInternal.h"
|
||||
#include "HAL/Errors.h"
|
||||
#include "PortsInternal.h"
|
||||
#include "handles/LimitedHandleResource.h"
|
||||
|
||||
using namespace hal;
|
||||
@@ -25,8 +26,8 @@ struct Interrupt // FIXME: why is this internal?
|
||||
};
|
||||
}
|
||||
|
||||
static LimitedHandleResource<HalInterruptHandle, Interrupt,
|
||||
tInterrupt::kNumSystems, HalHandleEnum::Interrupt>
|
||||
static LimitedHandleResource<HalInterruptHandle, Interrupt, kNumInterrupts,
|
||||
HalHandleEnum::Interrupt>
|
||||
interruptHandles;
|
||||
|
||||
extern "C" {
|
||||
|
||||
Reference in New Issue
Block a user