mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
Added in new headers and libraries for image version 18. This image contains a change to fix artf3773, which switched setDataSem to be a pthread_cond_t variable instead of a mutex. As a result, a few new HAL functions had to be exposed over JNI, specifically the functions for MultiWait.
Change-Id: I28be07c8102acb078440ee74ded46527328dd271
This commit is contained in:
@@ -342,7 +342,7 @@ JNIEXPORT jint JNICALL Java_edu_wpi_first_wpilibj_communication_FRCNetworkCommun
|
||||
JNIEXPORT void JNICALL Java_edu_wpi_first_wpilibj_communication_FRCNetworkCommunicationsLibrary_setNewDataSem
|
||||
(JNIEnv * env, jclass, jobject id )
|
||||
{
|
||||
MUTEX_ID* javaId = (MUTEX_ID*)env->GetDirectBufferAddress(id);
|
||||
MULTIWAIT_ID* javaId = (MULTIWAIT_ID*)env->GetDirectBufferAddress(id);
|
||||
NETCOMM_LOG(logDEBUG) << "Mutex Ptr = " << *javaId;
|
||||
HALSetNewDataSem(*javaId);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user