nrf5/hal: Aligning assignment in hal_adc.c

This commit is contained in:
Glenn Ruben Bakke 2017-01-23 00:10:04 +01:00
parent 1bd9003338
commit 0662e1ccf5

View File

@ -91,7 +91,7 @@ uint16_t hal_adc_channel_value(hal_adc_config_t const * p_adc_conf) {
uint8_t adc_result; uint8_t adc_result;
ADC_BASE->EVENTS_END = 0; ADC_BASE->EVENTS_END = 0;
adc_result = ADC_BASE->RESULT; adc_result = ADC_BASE->RESULT;
ADC_BASE->TASKS_STOP = 1; ADC_BASE->TASKS_STOP = 1;
return adc_result; return adc_result;