projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b3c79e
)
altos/stmf0: Fix HSI clock rate.
author
Keith Packard
<keithp@keithp.com>
Fri, 28 Apr 2017 07:04:33 +0000
(
00:04
-0700)
committer
Keith Packard
<keithp@keithp.com>
Fri, 28 Apr 2017 07:04:33 +0000
(
00:04
-0700)
It's 8MHz, not 16MHz
Signed-off-by: Keith Packard <keithp@keithp.com>
src/stmf0/stm32f0.h
patch
|
blob
|
history
diff --git
a/src/stmf0/stm32f0.h
b/src/stmf0/stm32f0.h
index e53a5dfde770b560d0978346f5c33474315647a1..61faf2e4263417ca9c8c33685540a583c2ab18de 100644
(file)
--- a/
src/stmf0/stm32f0.h
+++ b/
src/stmf0/stm32f0.h
@@
-282,8
+282,8
@@
struct stm_rcc {
extern struct stm_rcc stm_rcc;
-/* Nominal high speed internal oscillator frequency is
16
MHz */
-#define STM_HSI_FREQ
16
000000
+/* Nominal high speed internal oscillator frequency is
8
MHz */
+#define STM_HSI_FREQ
8
000000
#define STM_RCC_CR_PLLRDY (25)
#define STM_RCC_CR_PLLON (24)