[wpilibc] Remove unused SetPriority() call from Ultrasonic (#4123)

This commit is contained in:
Tyler Veness
2022-03-24 07:24:12 -07:00
committed by GitHub
parent ba0dccaae4
commit 126e3de91a
2 changed files with 0 additions and 8 deletions

View File

@@ -167,9 +167,6 @@ class Ultrasonic : public wpi::Sendable,
// Time (sec) for the ping trigger pulse.
static constexpr double kPingTime = 10 * 1e-6;
// Priority that the ultrasonic round robin task runs.
static constexpr int kPriority = 64;
// Max time (ms) between readings.
static constexpr auto kMaxUltrasonicTime = 0.1_s;
static constexpr auto kSpeedOfSound = 1130_fps;