Call SmartDashboard::init() in RobotBase constructor. (#428)

Fixes #427
This commit is contained in:
Tyler Veness
2017-01-01 00:07:22 -08:00
committed by Peter Johnson
parent ed1a94531a
commit 65b091a39a
6 changed files with 5 additions and 8 deletions

View File

@@ -10,7 +10,6 @@
#include "DriverStation.h"
#include "HAL/HAL.h"
#include "LiveWindow/LiveWindow.h"
#include "SmartDashboard/SmartDashboard.h"
#include "networktables/NetworkTable.h"
using namespace frc;
@@ -27,7 +26,6 @@ void IterativeRobot::StartCompetition() {
LiveWindow* lw = LiveWindow::GetInstance();
// first and one-time initialization
SmartDashboard::init();
NetworkTable::GetTable("LiveWindow")
->GetSubTable("~STATUS~")
->PutBoolean("LW Enabled", false);