mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-26 01:51:41 +00:00
[wpilib] Deprecate getInstance() in favor of static functions (#3440)
Co-authored-by: Noam Zaks <imnoamzaks@gmail.com>
This commit is contained in:
@@ -22,7 +22,7 @@ TEST(DriverStationTest, WaitForData) {
|
||||
|
||||
// 20ms waiting intervals * 50 = 1s
|
||||
for (int i = 0; i < 50; i++) {
|
||||
frc::DriverStation::GetInstance().WaitForData();
|
||||
frc::DriverStation::WaitForData();
|
||||
}
|
||||
|
||||
units::microsecond_t finalTime(frc::RobotController::GetFPGATime());
|
||||
|
||||
Reference in New Issue
Block a user