mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-25 01:41:43 +00:00
Call SmartDashboard::init() in RobotBase constructor. (#428)
Fixes #427
This commit is contained in:
committed by
Peter Johnson
parent
ed1a94531a
commit
65b091a39a
@@ -9,7 +9,6 @@
|
||||
|
||||
#include "DriverStation.h"
|
||||
#include "LiveWindow/LiveWindow.h"
|
||||
#include "SmartDashboard/SmartDashboard.h"
|
||||
#include "networktables/NetworkTable.h"
|
||||
|
||||
// not sure what this is used for yet.
|
||||
@@ -30,7 +29,6 @@ using namespace frc;
|
||||
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