mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-23 01:21:42 +00:00
Call SmartDashboard::init() in RobotBase constructor. (#428)
Fixes #427
This commit is contained in:
committed by
Peter Johnson
parent
ed1a94531a
commit
65b091a39a
@@ -10,7 +10,6 @@
|
||||
#include <cstdio>
|
||||
|
||||
#include "LiveWindow/LiveWindow.h"
|
||||
#include "SmartDashboard/SmartDashboard.h"
|
||||
#include "Timer.h"
|
||||
#include "networktables/NetworkTable.h"
|
||||
|
||||
@@ -105,7 +104,6 @@ void SampleRobot::RobotMain() { m_robotMainOverridden = false; }
|
||||
void SampleRobot::StartCompetition() {
|
||||
LiveWindow* lw = LiveWindow::GetInstance();
|
||||
|
||||
SmartDashboard::init();
|
||||
NetworkTable::GetTable("LiveWindow")
|
||||
->GetSubTable("~STATUS~")
|
||||
->PutBoolean("LW Enabled", false);
|
||||
|
||||
Reference in New Issue
Block a user