Skip to content
Commit 70d61cdd authored by Piotr Zięcik's avatar Piotr Zięcik Committed by Carles Cufí
Browse files

drivers: adc_stm32: Get clock frequency from DTS



The adc_stm32 driver used system timer frequency as a base for
busy-wait delay calculation. This commit corrects that by obtaining
the needed value from SystemCoreClock variable.

Signed-off-by: default avatarPiotr Zięcik <piotr.ziecik@nordicsemi.no>
parent a901e32a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment