Adds PWM to LoopTiming and CycleStart HAL calls (#693)

This commit is contained in:
Thad House
2017-10-27 19:44:40 -07:00
committed by Peter Johnson
parent f34332643a
commit 90f99dc571
4 changed files with 9 additions and 9 deletions

View File

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