mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
[wpilib] Remove version writes (#8003)
This will use a much different mechanism in the future.
This commit is contained in:
@@ -216,17 +216,6 @@ RobotBase::RobotBase() {
|
||||
|
||||
SmartDashboard::init();
|
||||
|
||||
if constexpr (!IsSimulation()) {
|
||||
std::FILE* file = nullptr;
|
||||
file = std::fopen("/tmp/frc_versions/FRC_Lib_Version.ini", "w");
|
||||
|
||||
if (file != nullptr) {
|
||||
std::fputs("C++ ", file);
|
||||
std::fputs(GetWPILibVersion(), file);
|
||||
std::fclose(file);
|
||||
}
|
||||
}
|
||||
|
||||
// Call DriverStation::RefreshData() to kick things off
|
||||
DriverStation::RefreshData();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user