mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-01 02:41:48 +00:00
Replaced .h C headers with c-prefixed version and added std:: prefix to C standard library usage (#90)
This was not done to stdint.h for brevity in type names. Also removed "using namespace std;".
This commit is contained in:
committed by
Peter Johnson
parent
776a991d61
commit
5a82f73d9b
@@ -7,8 +7,7 @@
|
||||
|
||||
#include "RobotBase.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <cstdio>
|
||||
|
||||
#include "DriverStation.h"
|
||||
#include "HAL/HAL.h"
|
||||
@@ -28,7 +27,7 @@ void RobotBase::setInstance(RobotBase* robot) {
|
||||
RobotBase& RobotBase::getInstance() { return *m_instance; }
|
||||
|
||||
void RobotBase::robotSetup(RobotBase* robot) {
|
||||
printf("\n********** Robot program starting **********\n");
|
||||
std::printf("\n********** Robot program starting **********\n");
|
||||
robot->StartCompetition();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user