mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-24 01:31:46 +00:00
Fixed post4066 bug: Prestart() inaccessible.
Change-Id: Ie179453b038458e77257c1b2d0acba7a4224f6c4
This commit is contained in:
@@ -37,6 +37,12 @@ RobotBase &RobotBase::getInstance()
|
||||
return *m_instance;
|
||||
}
|
||||
|
||||
void RobotBase::robotSetup(RobotBase *robot)
|
||||
{
|
||||
robot->Prestart();
|
||||
robot->StartCompetition();
|
||||
}
|
||||
|
||||
/**
|
||||
* Constructor for a generic robot program.
|
||||
* User code should be placed in the constructor that runs before the Autonomous or Operator
|
||||
|
||||
Reference in New Issue
Block a user