[wpilib] PowerDistribution: Add module type getter (#3948)

This commit is contained in:
Peter Johnson
2022-01-21 15:46:44 -08:00
committed by GitHub
parent 2f9a600de2
commit 5548a37465
3 changed files with 26 additions and 0 deletions

View File

@@ -100,6 +100,11 @@ class PowerDistribution : public wpi::Sendable,
*/
int GetModule() const;
/**
* Gets module type.
*/
ModuleType GetType() const;
/**
* Gets whether the PDH switchable channel is turned on or off. Returns false
* with the CTRE PDP.