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

@@ -12,7 +12,9 @@
#include "HAL/AnalogTrigger.h"
#include "HAL/Types.h"
#ifdef __cplusplus
extern "C" {
#endif
typedef void (*InterruptHandlerFunction)(uint32_t interruptAssertedMask,
void* param);
@@ -40,4 +42,6 @@ void HAL_AttachInterruptHandler(HAL_InterruptHandle interrupt_handle,
void HAL_SetInterruptUpSourceEdge(HAL_InterruptHandle interrupt_handle,
HAL_Bool risingEdge, HAL_Bool fallingEdge,
int32_t* status);
#ifdef __cplusplus
}
#endif