[hal] Allocate CANStreamMessage in JNI if null (#6107)

This commit is contained in:
Thad House
2023-12-28 22:50:57 -08:00
committed by GitHub
parent 6a2d3c30a6
commit 9333951736
3 changed files with 17 additions and 2 deletions

View File

@@ -93,6 +93,8 @@ jobject CreatePowerDistributionVersion(JNIEnv* env, uint32_t firmwareMajor,
uint32_t hardwareMajor,
uint32_t uniqueId);
jobject CreateCANStreamMessage(JNIEnv* env);
JavaVM* GetJVM();
} // namespace hal