mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-28 02:11:43 +00:00
Prepends all HAL functions with HAL_ (#146)
This commit is contained in:
committed by
Peter Johnson
parent
5ad28d58ec
commit
b637b9ee4c
@@ -12,12 +12,12 @@
|
||||
#include "Handles.h"
|
||||
|
||||
extern "C" {
|
||||
HalRelayHandle initializeRelayPort(HalPortHandle port_handle, uint8_t fwd,
|
||||
int32_t* status);
|
||||
void freeRelayPort(HalRelayHandle relay_port_handle);
|
||||
HAL_RelayHandle HAL_InitializeRelayPort(HAL_PortHandle port_handle, uint8_t fwd,
|
||||
int32_t* status);
|
||||
void HAL_FreeRelayPort(HAL_RelayHandle relay_port_handle);
|
||||
|
||||
bool checkRelayChannel(uint8_t pin);
|
||||
bool HAL_CheckRelayChannel(uint8_t pin);
|
||||
|
||||
void setRelay(HalRelayHandle relay_port_handle, bool on, int32_t* status);
|
||||
bool getRelay(HalRelayHandle relay_port_handle, int32_t* status);
|
||||
void HAL_SetRelay(HAL_RelayHandle relay_port_handle, bool on, int32_t* status);
|
||||
bool HAL_GetRelay(HAL_RelayHandle relay_port_handle, int32_t* status);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user