mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-24 01:31:46 +00:00
[hal, wpilib] Expose sticky hardware and firmware faults in PDH and PH (#6900)
This commit is contained in:
@@ -226,6 +226,10 @@ class PneumaticHub : public PneumaticsBase {
|
||||
uint32_t CanWarning : 1;
|
||||
/** The device's CAN controller experienced a "Bus Off" event. */
|
||||
uint32_t CanBusOff : 1;
|
||||
/** The hardware on the device has malfunctioned. */
|
||||
uint32_t HardwareFault : 1;
|
||||
/** The firmware on the device has malfunctioned. */
|
||||
uint32_t FirmwareFault : 1;
|
||||
/** The device has rebooted. */
|
||||
uint32_t HasReset : 1;
|
||||
};
|
||||
|
||||
@@ -311,6 +311,10 @@ class PowerDistribution : public wpi::Sendable,
|
||||
uint32_t CanWarning : 1;
|
||||
/** The device's CAN controller experienced a "Bus Off" event. */
|
||||
uint32_t CanBusOff : 1;
|
||||
/** The hardware on the device has malfunctioned. */
|
||||
uint32_t HardwareFault : 1;
|
||||
/** The firmware on the device has malfunctioned. */
|
||||
uint32_t FirmwareFault : 1;
|
||||
/** The device has rebooted. */
|
||||
uint32_t HasReset : 1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user