commit | 70d61cdd55592ff6aa3fbe07d3611798a1e332b4 | [log] [tgz] |
---|---|---|
author | Piotr Zięcik <piotr.ziecik@nordicsemi.no> | Thu May 30 12:16:18 2019 +0200 |
committer | Carles Cufí <carles.cufi@nordicsemi.no> | Wed Jul 24 15:10:02 2019 +0200 |
tree | c3a25e77a95db14120b2c1cf743c1329ff8c0d51 | |
parent | a901e32a3887aee0ced0d0c81bc523ed1d3c3a47 [diff] |
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: Piotr Zięcik <piotr.ziecik@nordicsemi.no>