arch/nrf52/nrf52_adc.c: fix device shutdown

This commit is contained in:
raiden00pl 2023-03-13 13:47:52 +01:00 committed by Alan Carvalho de Assis
parent 12bb4f04f1
commit 74158db707
1 changed files with 1 additions and 1 deletions

View File

@ -809,7 +809,7 @@ static void nrf52_adc_shutdown(struct adc_dev_s *dev)
/* Stop SAADC */ /* 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 */ /* Wait for SAADC stopped */