mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-30 02:31:44 +00:00
[wpilibc] ADIS16448, ADIS16470: Initialize member pointers (#6282)
This commit is contained in:
@@ -350,8 +350,8 @@ class ADIS16448_IMU : public wpi::Sendable,
|
||||
};
|
||||
|
||||
/** @brief Internal Resources **/
|
||||
DigitalInput* m_reset_in;
|
||||
DigitalOutput* m_status_led;
|
||||
DigitalInput* m_reset_in = nullptr;
|
||||
DigitalOutput* m_status_led = nullptr;
|
||||
|
||||
bool SwitchToStandardSPI();
|
||||
|
||||
|
||||
@@ -423,8 +423,8 @@ class ADIS16470_IMU : public wpi::Sendable,
|
||||
static constexpr double grav = 9.81;
|
||||
|
||||
/** @brief Resources **/
|
||||
DigitalInput* m_reset_in;
|
||||
DigitalOutput* m_status_led;
|
||||
DigitalInput* m_reset_in = nullptr;
|
||||
DigitalOutput* m_status_led = nullptr;
|
||||
|
||||
/**
|
||||
* @brief Switches to standard SPI operation. Primarily used when exiting auto
|
||||
|
||||
Reference in New Issue
Block a user