diff options
Diffstat (limited to 'nuttx/arch/arm/src/sama5/sam_adc.h')
-rw-r--r-- | nuttx/arch/arm/src/sama5/sam_adc.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/nuttx/arch/arm/src/sama5/sam_adc.h b/nuttx/arch/arm/src/sama5/sam_adc.h index 8a8f7ca51..8309c624c 100644 --- a/nuttx/arch/arm/src/sama5/sam_adc.h +++ b/nuttx/arch/arm/src/sama5/sam_adc.h @@ -1,7 +1,6 @@ /**************************************************************************** * arch/arm/src/sama5/sam_adc.h * - * * Copyright (C) 2013 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <gnutt@nuttx.org> * @@ -44,6 +43,8 @@ #include <nuttx/config.h> #include "chip/sam_adc.h" +#ifdef CONFIG_SAMA5_ADC + /**************************************************************************** * Pre-processor Definitions ****************************************************************************/ @@ -81,13 +82,16 @@ extern "C" * ****************************************************************************/ -#ifdef CONFIG_LPC17_ADC FAR struct adc_dev_s *sam_adcinitialize(void); -#endif + +/**************************************************************************** + * Interfaces exported from the ADC to the touchscreen driver + ****************************************************************************/ #undef EXTERN #ifdef __cplusplus } #endif +#endif /* CONFIG_SAMA5_ADC */ #endif /* __ARCH_ARM_SRC_SAMA5_SAM_ADC_H */ |