[wpilib] Fix DS mode thread event being manual reset accidentally (#4818)

These need to be automatic reset.
This commit is contained in:
Thad House
2022-12-14 10:17:13 -08:00
committed by GitHub
parent 3997c6635b
commit 518916ba02
3 changed files with 3 additions and 3 deletions

View File

@@ -29,7 +29,7 @@ public class DriverStationModeThread implements AutoCloseable {
}
private void run() {
int handle = WPIUtilJNI.createEvent(true, false);
int handle = WPIUtilJNI.createEvent(false, false);
DriverStationJNI.provideNewDataEventHandle(handle);
while (m_keepAlive.get()) {