mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-30 02:31:44 +00:00
[wpilib] Improve PDP comments (NFC) (#3427)
Also remove HAL doxygen comments from sources; these functions already had more descriptive comments in their corresponding headers.
This commit is contained in:
@@ -18,9 +18,6 @@ using namespace frc;
|
||||
|
||||
PowerDistributionPanel::PowerDistributionPanel() : PowerDistributionPanel(0) {}
|
||||
|
||||
/**
|
||||
* Initialize the PDP.
|
||||
*/
|
||||
PowerDistributionPanel::PowerDistributionPanel(int module) : m_module(module) {
|
||||
int32_t status = 0;
|
||||
m_handle = HAL_InitializePDP(module, &status);
|
||||
|
||||
@@ -20,7 +20,18 @@ class SendableBuilder;
|
||||
class PowerDistributionPanel : public Sendable,
|
||||
public SendableHelper<PowerDistributionPanel> {
|
||||
public:
|
||||
/**
|
||||
* Constructs a PowerDistributionPanel.
|
||||
*
|
||||
* Uses the default CAN ID (0).
|
||||
*/
|
||||
PowerDistributionPanel();
|
||||
|
||||
/**
|
||||
* Constructs a PowerDistributionPanel.
|
||||
*
|
||||
* @param module The CAN ID of the PDP
|
||||
*/
|
||||
explicit PowerDistributionPanel(int module);
|
||||
|
||||
PowerDistributionPanel(PowerDistributionPanel&&) = default;
|
||||
|
||||
Reference in New Issue
Block a user