mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-29 02:21:44 +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 "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);
|
||||
|
||||
Reference in New Issue
Block a user