mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-25 01:41:43 +00:00
[hal,wpilib] Rename PowerDistribution constants to all caps
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user