mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-02 02:51: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
@@ -54,10 +54,6 @@ HalPortHandle getPortWithModule(uint8_t module, uint8_t pin) {
|
||||
return createPortHandle(pin, module);
|
||||
}
|
||||
|
||||
void freePort(HalPortHandle port_handle) {
|
||||
// noop
|
||||
}
|
||||
|
||||
const char* getHALErrorMessage(int32_t code) {
|
||||
switch (code) {
|
||||
case 0:
|
||||
|
||||
Reference in New Issue
Block a user