mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-23 01:21:42 +00:00
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:
committed by
Peter Johnson
parent
5e2a76147c
commit
77a1af44c4
@@ -26,7 +26,6 @@ AnalogTrigger::AnalogTrigger(int32_t channel) {
|
||||
uint32_t index = 0;
|
||||
m_trigger = initializeAnalogTrigger(port, &index, &status);
|
||||
wpi_setErrorWithContext(status, getHALErrorMessage(status));
|
||||
freePort(port);
|
||||
m_index = index;
|
||||
|
||||
HALReport(HALUsageReporting::kResourceType_AnalogTrigger, channel);
|
||||
|
||||
Reference in New Issue
Block a user