mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-22 01:11:42 +00:00
[wpilib] DataLogManager: Warn user if logging to RoboRIO 1 internal storage (#5617)
This commit is contained in:
@@ -204,8 +204,13 @@ public final class DataLogManager {
|
||||
} catch (IOException ex) {
|
||||
// ignored
|
||||
}
|
||||
if (RobotBase.getRuntimeType() == RuntimeType.kRoboRIO) {
|
||||
DriverStation.reportWarning(
|
||||
"DataLogManager: Logging to RoboRIO 1 internal storage is not recommended!"
|
||||
+ " Plug in a FAT32 formatted flash drive!",
|
||||
false);
|
||||
}
|
||||
}
|
||||
|
||||
return Filesystem.getOperatingDirectory().getAbsolutePath();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user