mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-26 01:51:41 +00:00
Add PDP usage reporting (#1167)
This commit is contained in:
committed by
Peter Johnson
parent
122fdf48b2
commit
3eae079db4
@@ -32,6 +32,8 @@ PowerDistributionPanel::PowerDistributionPanel(int module) {
|
||||
HAL_GetErrorMessage(status));
|
||||
return;
|
||||
}
|
||||
|
||||
HAL_Report(HALUsageReporting::kResourceType_PDP, module);
|
||||
SetName("PowerDistributionPanel", module);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user