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:
Glenn Ruben Bakke 2017-01-11 17:02:41 +01:00
parent d1f5e0992b
commit 3b0fe69366
2 changed files with 2 additions and 2 deletions

View File

@ -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) {
}

View File

@ -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) {
}