Skip to content

Commit f8f240d

Browse files
authored
Merge branch 'dev' into update-wpilib-25
2 parents a9a7f94 + 388fd82 commit f8f240d

File tree

1 file changed

+2
-14
lines changed

1 file changed

+2
-14
lines changed

src/main/java/com/spikes2212/util/Limelight.java

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@ public int getLedMode() {
4444
}
4545
}
4646

47-
protected static NetworkTableInstance table;
48-
4947
private static final String DEFAULT_NAME = "limelight";
5048

49+
protected static NetworkTableInstance table;
50+
5151
private final String name;
5252

5353
public Limelight(String limelightName) {
@@ -81,18 +81,6 @@ public NetworkTableValue getValue(String key) {
8181
return getEntry(key).getValue();
8282
}
8383

84-
@Deprecated(since = "2023", forRemoval = true)
85-
public void periodic() {
86-
}
87-
88-
/**
89-
* @deprecated use {@link #hasTarget()}
90-
*/
91-
@Deprecated(since = "2023", forRemoval = true)
92-
public boolean isOnTarget() {
93-
return this.hasTarget();
94-
}
95-
9684
/**
9785
* @return whether a target is detected by the limelight
9886
*/

0 commit comments

Comments
 (0)