Skip to content

Commit

Permalink
[wpilibc] SysIdRoutineLog: Initialize m_stateInitialized (#6359)
Browse files Browse the repository at this point in the history
This caused non-deterministic behavior as to if the `sysid-test-state-` will appear in the log.
  • Loading branch information
Kython89 authored Feb 10, 2024
1 parent 1db3936 commit 300419c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 300419c

Please sign in to comment.