mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-24 01:31:46 +00:00
[wpilibc] SysIdRoutineLog: Initialize m_stateInitialized (#6359)
This caused non-deterministic behavior as to if the `sysid-test-state-` will appear in the log.
This commit is contained in:
@@ -194,7 +194,7 @@ class SysIdRoutineLog {
|
||||
private:
|
||||
LogEntries m_logEntries;
|
||||
std::string m_logName;
|
||||
bool m_stateInitialized;
|
||||
bool m_stateInitialized = false;
|
||||
wpi::log::StringLogEntry m_state;
|
||||
};
|
||||
} // namespace frc::sysid
|
||||
|
||||
Reference in New Issue
Block a user