mirror of
https://github.com/apache/nuttx.git
synced 2026-08-07 13:37:18 +00:00
arch/nrf52/nrf52_adc.c: fix device shutdown
This commit is contained in:
parent
12bb4f04f1
commit
74158db707
1 changed files with 1 additions and 1 deletions
|
|
@ -809,7 +809,7 @@ static void nrf52_adc_shutdown(struct adc_dev_s *dev)
|
|||
|
||||
/* Stop SAADC */
|
||||
|
||||
nrf52_adc_putreg(priv, NRF52_SAADC_TASKS_STOP_OFFSET, 0);
|
||||
nrf52_adc_putreg(priv, NRF52_SAADC_TASKS_STOP_OFFSET, 1);
|
||||
|
||||
/* Wait for SAADC stopped */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue