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