Removes freePort from the HAL (#116)

It was a no-op, and most likely in the future it will be that way too.
Removing to clean up the API.
This commit is contained in:
Thad House
2016-06-27 13:38:33 -07:00
committed by Peter Johnson
parent 5e2a76147c
commit 77a1af44c4
10 changed files with 0 additions and 30 deletions

View File

@@ -45,19 +45,4 @@ JNIEXPORT jint JNICALL Java_edu_wpi_first_wpilibj_hal_JNIWrapper_getPort(
// FILE_LOG(logDEBUG) << "Port Handle = " << port;
return (jint)port;
}
/*
* Class: edu_wpi_first_wpilibj_hal_JNIWrapper
* Method: freePort
* Signature: (I)V
*/
JNIEXPORT void JNICALL Java_edu_wpi_first_wpilibj_hal_JNIWrapper_freePort(
JNIEnv* env, jclass, jint id) {
// FILE_LOG(logDEBUG) << "Calling JNIWrapper getPortWithModlue";
// FILE_LOG(logDEBUG) << "Module = " << (jint)module;
// FILE_LOG(logDEBUG) << "Pin = " << (jint)pin;
freePort((HalPortHandle)id);
// FILE_LOG(logDEBUG) << "Port Handle = " << port;
}
} // extern "C"