[wpilibc] ADIS16448, ADIS16470: Initialize member pointers (#6282)

This commit is contained in:
Peter Johnson
2024-01-21 11:49:32 -08:00
committed by GitHub
parent 6fc16264ce
commit 9206b47d67
2 changed files with 4 additions and 4 deletions

View File

@@ -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();

View File

@@ -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