[hal] Add GetTeamNumber (#5596)

This commit is contained in:
Ryan Blue
2023-09-02 02:34:18 -04:00
committed by GitHub
parent a750bee54d
commit ac23f92451
19 changed files with 259 additions and 0 deletions

View File

@@ -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