Adds port constants to the HAL (#130)

This commit is contained in:
Thad House
2016-07-02 23:19:14 -07:00
committed by Peter Johnson
parent 0e127679c1
commit b45e0917ae
25 changed files with 175 additions and 91 deletions

View File

@@ -7,11 +7,13 @@
#include "HAL/PDP.h"
#include "HAL/Ports.h"
#include "PortsInternal.h"
#include "ctre/PDP.h"
static const int NUM_MODULE_NUMBERS = 63;
using namespace hal;
static PDP* pdp[NUM_MODULE_NUMBERS] = {nullptr};
static PDP* pdp[kNumPDPModules] = {nullptr};
extern "C" {