nrf5/hal: Removing chip variant guard for hal_adc*, and let this be up to the hal conf file to not mess up at the moment.
This commit is contained in:
parent
d1f5e0992b
commit
3b0fe69366
|
@ -27,7 +27,7 @@
|
|||
#include "mphalport.h"
|
||||
#include "hal_adc.h"
|
||||
|
||||
#ifdef HAL_ADC_MODULE_ENABLED && NRF51
|
||||
#ifdef HAL_ADC_MODULE_ENABLED
|
||||
|
||||
void hal_adc_init(HAL_ADC_Type * p_instance, hal_adc_init_t const * p_adc_init) {
|
||||
}
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
#include "mphalport.h"
|
||||
#include "hal_adc.h"
|
||||
|
||||
#ifdef HAL_ADCE_MODULE_ENABLED && NRF52
|
||||
#ifdef HAL_ADCE_MODULE_ENABLED
|
||||
|
||||
void hal_adc_init(HAL_ADC_Type * p_instance, hal_adc_init_t const * p_adc_init) {
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue