Changes HAL Headers to be C compliant. (#171)

This commit is contained in:
Thad House
2016-07-12 21:53:06 -07:00
committed by Peter Johnson
parent 1b1ee7f9f3
commit edf5ecd4a0
26 changed files with 117 additions and 15 deletions

View File

@@ -9,7 +9,9 @@
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
void HAL_InitializeSerialPort(int32_t port, int32_t* status);
void HAL_SetSerialBaudRate(int32_t port, int32_t baud, int32_t* status);
void HAL_SetSerialDataBits(int32_t port, int32_t bits, int32_t* status);
@@ -31,4 +33,6 @@ int32_t HAL_WriteSerial(int32_t port, const char* buffer, int32_t count,
void HAL_FlushSerial(int32_t port, int32_t* status);
void HAL_ClearSerial(int32_t port, int32_t* status);
void HAL_CloseSerial(int32_t port, int32_t* status);
#ifdef __cplusplus
}
#endif