mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
[wpiutil] Rename CreateEvent and CreateSemaphore to Make (#8710)
CreateEvent and CreateSemaphore are macros in Windows.h, which causes a ton of trouble. Just rename the functions. Closes #7303 Replaces #7336
This commit is contained in:
@@ -311,7 +311,7 @@ public final class DriverStationSim {
|
||||
|
||||
/** Updates DriverStation data so that new values are visible to the user program. */
|
||||
public static void notifyNewData() {
|
||||
int handle = WPIUtilJNI.createEvent(false, false);
|
||||
int handle = WPIUtilJNI.makeEvent(false, false);
|
||||
DriverStationJNI.provideNewDataEventHandle(handle);
|
||||
DriverStationDataJNI.notifyNewData();
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user