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

@@ -18,7 +18,9 @@ enum HAL_AnalogTriggerType {
HAL_Trigger_kFallingPulse = 3
};
#ifdef __cplusplus
extern "C" {
#endif
HAL_AnalogTriggerHandle HAL_InitializeAnalogTrigger(
HAL_AnalogInputHandle port_handle, int32_t* index, int32_t* status);
void HAL_CleanAnalogTrigger(HAL_AnalogTriggerHandle analog_trigger_handle,
@@ -40,4 +42,6 @@ HAL_Bool HAL_GetAnalogTriggerTriggerState(
HAL_Bool HAL_GetAnalogTriggerOutput(
HAL_AnalogTriggerHandle analog_trigger_handle, HAL_AnalogTriggerType type,
int32_t* status);
#ifdef __cplusplus
}
#endif