diff options
| author | Damien George <damien.p.george@gmail.com> | 2018-09-24 17:07:15 +1000 |
|---|---|---|
| committer | Damien George <damien.p.george@gmail.com> | 2018-09-24 17:34:05 +1000 |
| commit | 6ea6c7cc9ee20273210afd49740b26d722518a92 (patch) | |
| tree | 41afd18cae4fe01e457c3591041876bf0663389b /lib/stm32lib | |
| parent | bc54c57590a714f334e06d645acf87d4be0e607a (diff) | |
stm32/powerctrl: Don't configure clocks if already at desired frequency.
Configuring clocks is a critical operation and is best to avoid when
possible. If the clocks really need to be reset to the same values then
one can pass in a slightly higher value, eg 168000001 Hz to get 168MHz.
Diffstat (limited to 'lib/stm32lib')
0 files changed, 0 insertions, 0 deletions
