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

@@ -9,7 +9,6 @@
#include "DriverStation.h"
#include "LiveWindow/LiveWindow.h"
#include "SmartDashboard/SmartDashboard.h"
#include "Timer.h"
#include "networktables/NetworkTable.h"
@@ -106,7 +105,6 @@ void SampleRobot::StartCompetition() {
HAL_Report(HALUsageReporting::kResourceType_Framework,
HALUsageReporting::kFramework_Simple);
SmartDashboard::init();
NetworkTable::GetTable("LiveWindow")
->GetSubTable("~STATUS~")
->PutBoolean("LW Enabled", false);