mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-22 01:11:42 +00:00
[wpilibj] Suppress this-escape warning on SharpIR (#6659)
This commit is contained in:
@@ -80,6 +80,7 @@ public class SharpIR implements Sendable, AutoCloseable {
|
||||
* @param minCM Minimum distance to report in centimeters
|
||||
* @param maxCM Maximum distance to report in centimeters
|
||||
*/
|
||||
@SuppressWarnings("this-escape")
|
||||
public SharpIR(int channel, double a, double b, double minCM, double maxCM) {
|
||||
m_sensor = new AnalogInput(channel);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user