nrf5/hal: Aligning assignment in hal_adc.c
This commit is contained in:
parent
1bd9003338
commit
0662e1ccf5
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user