Merge "Fix ControllerPower 5v faults and add javadocs. Fixes artf3918."

This commit is contained in:
Brad Miller (WPI)
2014-12-16 08:07:30 -08:00
committed by Gerrit Code Review
2 changed files with 62 additions and 3 deletions

View File

@@ -119,7 +119,7 @@ JNIEXPORT jint JNICALL Java_edu_wpi_first_wpilibj_hal_PowerJNI_getUserCurrentFau
(JNIEnv * env, jclass, jobject status)
{
jint * statusPtr = (jint*)env->GetDirectBufferAddress(status);
return getUserCurrentFaults3V3(statusPtr);
return getUserCurrentFaults5V(statusPtr);
}
/*