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

@@ -47,7 +47,7 @@ import org.wpilib.vision.stream.CameraServer;
*/
public final class Main {
private static String configFile = "/boot/frc.json";
private static String configFile = "/boot/CameraServerConfig.json";
@SuppressWarnings("MemberName")
public static class CameraConfig {

View File

@@ -46,9 +46,9 @@
*/
#ifdef __RASPBIAN__
static const char* configFile = "/boot/frc.json";
static const char* configFile = "/boot/CameraServerConfig.json";
#else
static const char* configFile = "frc.json";
static const char* configFile = "CameraServerConfig.json";
#endif
namespace {

View File

@@ -186,7 +186,7 @@ std::vector<std::string> Instance::GetSourceStreamValues(CS_Source source) {
value = "mjpg:" + value;
}
#ifdef __FRC_SYSTEMCORE__
#ifdef __FIRST_SYSTEMCORE__
// Look to see if we have a passthrough server for this source
// Only do this on the systemcore
for (const auto& i : m_sinks) {