From bcf47b465efeb587fb33063df3e0935aab1163fb Mon Sep 17 00:00:00 2001 From: Glenn Ruben Bakke Date: Wed, 11 Jan 2017 17:29:50 +0100 Subject: [PATCH] nrf5/hal: Updating hal_adc header to use correct Type for ADC on nrf52. --- nrf5/hal/hal_adc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nrf5/hal/hal_adc.h b/nrf5/hal/hal_adc.h index ee7fefe9b5..1dbea697b9 100644 --- a/nrf5/hal/hal_adc.h +++ b/nrf5/hal/hal_adc.h @@ -39,7 +39,7 @@ #define ADC_IRQ_NUM SAADC_IRQn #define ADC_BASE(x) ((NRF_SAADC_Type *)NRF_SAADC_BASE) -#define HAL_ADC_Type NRF_ADC_Type +#define HAL_ADC_Type NRF_SAADC_Type #endif