mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-23 01:21: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:
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user