mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-26 01:51:41 +00:00
[wpilib] PowerDistribution: Add module type getter (#3948)
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user