mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
boards/airfy-beacon: declare adc_config[] directly in periph_conf.h
This commit is contained in:
parent
6a71c35d60
commit
04d4b025fc
@ -86,8 +86,9 @@ static const i2c_conf_t i2c_config[] = {
|
||||
* The configuration consists simply of a list of channels that should be used
|
||||
* @{
|
||||
*/
|
||||
#define ADC_CONFIG {3, 4, 5, 6}
|
||||
#define ADC_NUMOF (4)
|
||||
static const adc_conf_t adc_config[] = {3, 4, 5, 6};
|
||||
|
||||
#define ADC_NUMOF ARRAY_SIZE(adc_config)
|
||||
/** @} */
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
Loading…
Reference in New Issue
Block a user