mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-22 01:11:42 +00:00
[wpilib] Deprecate getInstance() in favor of static functions (#3440)
Co-authored-by: Noam Zaks <imnoamzaks@gmail.com>
This commit is contained in:
@@ -30,7 +30,7 @@ public class GyroTest extends AbstractComsSetup {
|
||||
@Before
|
||||
public void setUp() {
|
||||
logger.fine("Setup: TiltPan camera");
|
||||
m_tpcam = TestBench.getInstance().getTiltPanCam();
|
||||
m_tpcam = TestBench.getTiltPanCam();
|
||||
m_tpcam.setup();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user