mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-03 03:01:44 +00:00
Removed AnalogModule, DigitalModule, and Module from C++
The HAL calls from Analog/DigitalModule are now directly in the classes that use them. Change-Id: I1cf879ab2979be903d03ab8282dfe5a5e7ae9443
This commit is contained in:
@@ -21,7 +21,7 @@ public:
|
||||
virtual ~SensorBase();
|
||||
static void DeleteSingletons();
|
||||
|
||||
static uint32_t GetDefaultSolenoidModule()
|
||||
static uint32_t GetDefaultSolenoidModule()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
@@ -44,9 +44,14 @@ public:
|
||||
static const uint32_t kRelayChannels = 8;
|
||||
static const uint32_t kPDPChannels = 16;
|
||||
static const uint32_t kChassisSlots = 8;
|
||||
|
||||
protected:
|
||||
void AddToSingletonList();
|
||||
|
||||
static void* m_digital_ports[kDigitalChannels];
|
||||
static void* m_relay_ports[kRelayChannels];
|
||||
static void* m_pwm_ports[kPwmChannels];
|
||||
|
||||
private:
|
||||
DISALLOW_COPY_AND_ASSIGN(SensorBase);
|
||||
static SensorBase *m_singletonList;
|
||||
|
||||
Reference in New Issue
Block a user