[wpilib] Default LiveWindowEnabledInTest to false (#5950)

This commit is contained in:
Starlight220
2023-11-23 20:56:47 +02:00
committed by GitHub
parent dfdea9c992
commit 423fd75fa8
2 changed files with 4 additions and 4 deletions

View File

@@ -215,7 +215,7 @@ class IterativeRobotBase : public RobotBase {
/**
* Sets whether LiveWindow operation is enabled during test mode.
*
* @param testLW True to enable, false to disable. Defaults to true.
* @param testLW True to enable, false to disable. Defaults to false.
* @throws if called in test mode.
*/
void EnableLiveWindowInTest(bool testLW);
@@ -252,7 +252,7 @@ class IterativeRobotBase : public RobotBase {
units::second_t m_period;
Watchdog m_watchdog;
bool m_ntFlushEnabled = true;
bool m_lwEnabledInTest = true;
bool m_lwEnabledInTest = false;
bool m_calledDsConnected = false;
void PrintLoopOverrunMessage();