mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
Prepends all HAL functions with HAL_ (#146)
This commit is contained in:
committed by
Peter Johnson
parent
5ad28d58ec
commit
b637b9ee4c
@@ -101,8 +101,8 @@ void SampleRobot::RobotMain() { m_robotMainOverridden = false; }
|
||||
void SampleRobot::StartCompetition() {
|
||||
LiveWindow* lw = LiveWindow::GetInstance();
|
||||
|
||||
HALReport(HALUsageReporting::kResourceType_Framework,
|
||||
HALUsageReporting::kFramework_Simple);
|
||||
HAL_Report(HALUsageReporting::kResourceType_Framework,
|
||||
HALUsageReporting::kFramework_Simple);
|
||||
|
||||
SmartDashboard::init();
|
||||
NetworkTable::GetTable("LiveWindow")
|
||||
@@ -112,7 +112,7 @@ void SampleRobot::StartCompetition() {
|
||||
RobotInit();
|
||||
|
||||
// Tell the DS that the robot is ready to be enabled
|
||||
HALNetworkCommunicationObserveUserProgramStarting();
|
||||
HAL_NetworkCommunicationObserveUserProgramStarting();
|
||||
|
||||
RobotMain();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user