mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
Rename FRC to WPILib (#8637)
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user