[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

@@ -13,11 +13,11 @@
using namespace wpi::hal;
static_assert(org_wpilib_hardware_hal_PowerDistributionJNI_AUTOMATIC_TYPE ==
HAL_PowerDistributionType::HAL_PowerDistributionType_kAutomatic);
HAL_PowerDistributionType::HAL_POWER_DISTRIBUTION_AUTOMATIC);
static_assert(org_wpilib_hardware_hal_PowerDistributionJNI_CTRE_TYPE ==
HAL_PowerDistributionType::HAL_PowerDistributionType_kCTRE);
HAL_PowerDistributionType::HAL_POWER_DISTRIBUTION_CTRE);
static_assert(org_wpilib_hardware_hal_PowerDistributionJNI_REV_TYPE ==
HAL_PowerDistributionType::HAL_PowerDistributionType_kRev);
HAL_PowerDistributionType::HAL_POWER_DISTRIBUTION_REV);
static_assert(org_wpilib_hardware_hal_PowerDistributionJNI_DEFAULT_MODULE ==
HAL_DEFAULT_POWER_DISTRIBUTION_MODULE);