mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
[hal] [wpilib] Add initial support for the REV PDH (#3503)
This commit is contained in:
@@ -31,8 +31,8 @@ TEST(PdpSimTests, TestPdpInitialization) {
|
||||
|
||||
// Use out of range index
|
||||
gTestPdpCallbackName = "Unset";
|
||||
HAL_InitializePowerDistribution(INDEX_TO_TEST,
|
||||
HAL_PowerDistributionType_kCTRE, &status);
|
||||
HAL_InitializePowerDistribution(
|
||||
INDEX_TO_TEST, HAL_PowerDistributionType_kCTRE, nullptr, &status);
|
||||
EXPECT_EQ(0, status);
|
||||
EXPECT_STREQ("Initialized", gTestPdpCallbackName.c_str());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user