mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-24 01:31:46 +00:00
Rename FRC to WPILib (#8637)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
|
||||
#include "semiwrap_init.wpilib.simulation._simulation.hpp"
|
||||
|
||||
#ifndef __FRC_SYSTEMCORE__
|
||||
#ifndef __FIRST_SYSTEMCORE__
|
||||
|
||||
namespace wpi::impl {
|
||||
void ResetSmartDashboardInstance();
|
||||
|
||||
@@ -30,7 +30,7 @@ static fs::path getMainPath() {
|
||||
if (locals.contains("main_path")) {
|
||||
return fs::path(py::cast<std::string>(locals["main_path"]));
|
||||
} else {
|
||||
#ifdef __FRC_SYSTEMCORE__
|
||||
#ifdef __FIRST_SYSTEMCORE__
|
||||
return fs::path("/home/systemcore/py");
|
||||
#else
|
||||
return fs::current_path();
|
||||
@@ -51,4 +51,4 @@ inline fs::path GetOperatingDirectoryFs() {
|
||||
|
||||
inline fs::path GetDeployDirectoryFs() { return GetOperatingDirectoryFs() / "deploy"; }
|
||||
|
||||
} // namespace robotpy::filesystem
|
||||
} // namespace robotpy::filesystem
|
||||
|
||||
Reference in New Issue
Block a user