mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-24 01:31:46 +00:00
Fixed bad initialization of PDP.
Change-Id: I4603c7d51cfb8962d012aff0b6a1dac2e7525e40
This commit is contained in:
@@ -10,14 +10,13 @@
|
||||
#include "HAL/PDP.hpp"
|
||||
#include "LiveWindow/LiveWindow.h"
|
||||
|
||||
PowerDistributionPanel::PowerDistributionPanel() { PowerDistributionPanel(0); }
|
||||
PowerDistributionPanel::PowerDistributionPanel() : PowerDistributionPanel(0) {}
|
||||
|
||||
/**
|
||||
* Initialize the PDP.
|
||||
*/
|
||||
PowerDistributionPanel::PowerDistributionPanel(uint8_t module) {
|
||||
m_table = NULL;
|
||||
m_module = module;
|
||||
PowerDistributionPanel::PowerDistributionPanel(uint8_t module)
|
||||
: m_table(nullptr), m_module(module) {
|
||||
initializePDP(m_module);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user