mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-22 01:11:42 +00:00
Replace /home/lvuser with /home/systemcore (#8002)
This commit is contained in:
@@ -128,8 +128,8 @@ JNIEXPORT void JNICALL
|
||||
Java_edu_wpi_first_util_WPIUtilJNI_enableMockTime
|
||||
(JNIEnv*, jclass)
|
||||
{
|
||||
#ifdef __FRC_ROBORIO__
|
||||
wpi::print(stderr, "WPIUtil: Mocking time is not available on the Rio\n");
|
||||
#ifdef __FRC_SYSTEMCORE__
|
||||
wpi::print(stderr, "WPIUtil: Mocking time is not available on systemcore\n");
|
||||
#else
|
||||
mockTimeEnabled = true;
|
||||
wpi::SetNowImpl([] { return mockNow; });
|
||||
|
||||
@@ -71,7 +71,7 @@ static SendableRegistryInst& GetInstance() {
|
||||
return *GetInstanceHolder();
|
||||
}
|
||||
|
||||
#ifndef __FRC_ROBORIO__
|
||||
#ifndef __FRC_SYSTEMCORE__
|
||||
namespace wpi::impl {
|
||||
void ResetSendableRegistry() {
|
||||
std::make_unique<SendableRegistryInst>().swap(GetInstanceHolder());
|
||||
|
||||
Reference in New Issue
Block a user