mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
Adds PWM to LoopTiming and CycleStart HAL calls (#693)
This commit is contained in:
committed by
Peter Johnson
parent
f34332643a
commit
90f99dc571
@@ -183,7 +183,7 @@ JNIEXPORT jshort JNICALL
|
||||
Java_edu_wpi_first_wpilibj_hal_DIOJNI_getLoopTiming(JNIEnv *env, jclass) {
|
||||
DIOJNI_LOG(logDEBUG) << "Calling DIOJNI getLoopTimeing";
|
||||
int32_t status = 0;
|
||||
jshort returnValue = HAL_GetLoopTiming(&status);
|
||||
jshort returnValue = HAL_GetPWMLoopTiming(&status);
|
||||
DIOJNI_LOG(logDEBUG) << "Status = " << status;
|
||||
DIOJNI_LOG(logDEBUG) << "LoopTiming = " << returnValue;
|
||||
CheckStatus(env, status);
|
||||
|
||||
Reference in New Issue
Block a user