mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
[hal] Add GetTeamNumber (#5596)
This commit is contained in:
@@ -484,6 +484,18 @@ Java_edu_wpi_first_hal_HALUtil_getComments
|
||||
return MakeJString(env, std::string_view(comments, len));
|
||||
}
|
||||
|
||||
/*
|
||||
* Class: edu_wpi_first_hal_HALUtil
|
||||
* Method: getTeamNumber
|
||||
* Signature: ()I
|
||||
*/
|
||||
JNIEXPORT jint JNICALL
|
||||
Java_edu_wpi_first_hal_HALUtil_getTeamNumber
|
||||
(JNIEnv* env, jclass)
|
||||
{
|
||||
return HAL_GetTeamNumber();
|
||||
}
|
||||
|
||||
/*
|
||||
* Class: edu_wpi_first_hal_HALUtil
|
||||
* Method: getFPGATime
|
||||
|
||||
Reference in New Issue
Block a user