boards/airfy-beacon: adapted to ADC changes
This commit is contained in:
parent
843c456f4b
commit
d82eac3ed5
@ -98,16 +98,9 @@ static const timer_conf_t timer_config[] = {
|
||||
* @name ADC configuration
|
||||
* @{
|
||||
*/
|
||||
#define ADC_NUMOF (1U)
|
||||
#define ADC_0_EN 1
|
||||
#define ADC_MAX_CHANNELS 4
|
||||
static const uint8_t adc_config[] = {3, 4, 5, 6};
|
||||
|
||||
/* ADC 0 device configuration */
|
||||
#define ADC_0_CHANNELS 4
|
||||
#define ADC_0_CH0 ADC_CONFIG_PSEL_AnalogInput3
|
||||
#define ADC_0_CH1 ADC_CONFIG_PSEL_AnalogInput4
|
||||
#define ADC_0_CH2 ADC_CONFIG_PSEL_AnalogInput5
|
||||
#define ADC_0_CH3 ADC_CONFIG_PSEL_AnalogInput6
|
||||
#define ADC_NUMOF (sizeof(adc_config) / sizeof(adc_config[0]))
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user