From 0662e1ccf5a44475a217d55b80783f2cf2873dcb Mon Sep 17 00:00:00 2001 From: Glenn Ruben Bakke Date: Mon, 23 Jan 2017 00:10:04 +0100 Subject: [PATCH] nrf5/hal: Aligning assignment in hal_adc.c --- nrf5/hal/hal_adc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nrf5/hal/hal_adc.c b/nrf5/hal/hal_adc.c index 17a63fee5c..e39a1f35cc 100644 --- a/nrf5/hal/hal_adc.c +++ b/nrf5/hal/hal_adc.c @@ -91,7 +91,7 @@ uint16_t hal_adc_channel_value(hal_adc_config_t const * p_adc_conf) { uint8_t adc_result; ADC_BASE->EVENTS_END = 0; - adc_result = ADC_BASE->RESULT; + adc_result = ADC_BASE->RESULT; ADC_BASE->TASKS_STOP = 1; return adc_result;