mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-01 02:41:48 +00:00
Adds port constants to the HAL (#130)
This commit is contained in:
committed by
Peter Johnson
parent
0e127679c1
commit
b45e0917ae
@@ -9,13 +9,12 @@
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include "HAL/Ports.h"
|
||||
#include "PortsInternal.h"
|
||||
#include "ctre/PCM.h"
|
||||
|
||||
namespace hal {
|
||||
constexpr int NUM_MODULE_NUMBERS = 63;
|
||||
constexpr int NUM_SOLENOID_PINS = 8;
|
||||
|
||||
extern PCM* PCM_modules[NUM_MODULE_NUMBERS];
|
||||
extern PCM* PCM_modules[kNumPCMModules];
|
||||
|
||||
void initializePCM(int module);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user