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

@@ -36,7 +36,6 @@ AnalogOutput::AnalogOutput(uint32_t channel) {
HalPortHandle port = getPort(m_channel);
int32_t status = 0;
m_port = initializeAnalogOutputPort(port, &status);
freePort(port);
if (status != 0) {
wpi_setErrorWithContext(status, getHALErrorMessage(status));
m_channel = std::numeric_limits<uint32_t>::max();