mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
SCRIPT Run java package replacements
This commit is contained in:
committed by
Peter Johnson
parent
12823a003d
commit
f0a3c64121
@@ -7,19 +7,19 @@
|
||||
#include <cassert>
|
||||
|
||||
#include "HALUtil.h"
|
||||
#include "edu_wpi_first_hal_ConstantsJNI.h"
|
||||
#include "org_wpilib_hardware_hal_ConstantsJNI.h"
|
||||
#include "hal/Constants.h"
|
||||
|
||||
using namespace hal;
|
||||
|
||||
extern "C" {
|
||||
/*
|
||||
* Class: edu_wpi_first_hal_ConstantsJNI
|
||||
* Class: org_wpilib_hardware_hal_ConstantsJNI
|
||||
* Method: getSystemClockTicksPerMicrosecond
|
||||
* Signature: ()I
|
||||
*/
|
||||
JNIEXPORT jint JNICALL
|
||||
Java_edu_wpi_first_hal_ConstantsJNI_getSystemClockTicksPerMicrosecond
|
||||
Java_org_wpilib_hardware_hal_ConstantsJNI_getSystemClockTicksPerMicrosecond
|
||||
(JNIEnv* env, jclass)
|
||||
{
|
||||
jint value = HAL_GetSystemClockTicksPerMicrosecond();
|
||||
|
||||
Reference in New Issue
Block a user