mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
[wpilib] Fix DS mode thread event being manual reset accidentally (#4818)
These need to be automatic reset.
This commit is contained in:
@@ -26,7 +26,7 @@ void Robot::StartCompetition() {
|
||||
|
||||
frc::internal::DriverStationModeThread modeThread;
|
||||
|
||||
wpi::Event event{true, false};
|
||||
wpi::Event event{false, false};
|
||||
frc::DriverStation::ProvideRefreshedDataEventHandle(event.GetHandle());
|
||||
|
||||
// Tell the DS that the robot is ready to be enabled
|
||||
|
||||
Reference in New Issue
Block a user