mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-22 01:11:42 +00:00
Moves the DS new data wait calls down to the HAL. (#156)
This commit is contained in:
committed by
Peter Johnson
parent
0cb288ffba
commit
4a98e68815
@@ -274,14 +274,12 @@ Java_edu_wpi_first_wpilibj_hal_HAL_getJoystickAxisType(JNIEnv*, jclass,
|
||||
|
||||
/*
|
||||
* Class: edu_wpi_first_wpilibj_hal_HAL
|
||||
* Method: HALSetNewDataSem
|
||||
* Signature: (J)V
|
||||
* Method: HAL_waitForDSData
|
||||
* Signature: ()V
|
||||
*/
|
||||
JNIEXPORT void JNICALL
|
||||
Java_edu_wpi_first_wpilibj_hal_HAL_setNewDataSem(JNIEnv* env, jclass,
|
||||
jlong id) {
|
||||
NETCOMM_LOG(logDEBUG) << "Mutex Ptr = " << (void *)id;
|
||||
HAL_SetNewDataSem((MULTIWAIT_ID)id);
|
||||
Java_edu_wpi_first_wpilibj_hal_HAL_waitForDSData(JNIEnv* env, jclass) {
|
||||
HAL_WaitForDSData();
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user