[hal,wpilib] Rename PowerDistribution constants to all caps

This commit is contained in:
Peter Johnson
2026-03-14 12:01:16 -07:00
parent 261a0ebbd7
commit c18f811ea7
10 changed files with 38 additions and 39 deletions

View File

@@ -32,8 +32,8 @@ TEST(PdpSimTest, PdpInitialization) {
// Use out of range index
gTestPdpCallbackName = "Unset";
HAL_InitializePowerDistribution(
0, INDEX_TO_TEST, HAL_PowerDistributionType_kCTRE, nullptr, &status);
HAL_InitializePowerDistribution(0, INDEX_TO_TEST, HAL_POWER_DISTRIBUTION_CTRE,
nullptr, &status);
EXPECT_EQ(0, status);
EXPECT_STREQ("Initialized", gTestPdpCallbackName.c_str());
}