Rename FRC to WPILib (#8637)

This commit is contained in:
Thad House
2026-03-13 23:05:55 -07:00
committed by GitHub
parent 6830c65a15
commit b2b111dc11
73 changed files with 134 additions and 141 deletions

View File

@@ -24,7 +24,7 @@ namespace wpi {
int RunHALInitialization();
namespace impl {
#ifndef __FRC_SYSTEMCORE__
#ifndef __FIRST_SYSTEMCORE__
void ResetMotorSafety();
#endif
@@ -124,7 +124,7 @@ int StartRobot() {
impl::RunRobot<Robot>(m, &robot);
}
#ifndef __FRC_SYSTEMCORE__
#ifndef __FIRST_SYSTEMCORE__
wpi::impl::ResetMotorSafety();
#endif
HAL_Shutdown();
@@ -254,7 +254,7 @@ class RobotBase {
* @return If the robot is running in the real world.
*/
static constexpr bool IsReal() {
#ifdef __FRC_SYSTEMCORE__
#ifdef __FIRST_SYSTEMCORE__
return true;
#else
return false;
@@ -267,7 +267,7 @@ class RobotBase {
* @return If the robot is running in simulation.
*/
static constexpr bool IsSimulation() {
#ifdef __FRC_SYSTEMCORE__
#ifdef __FIRST_SYSTEMCORE__
return false;
#else
return true;