summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2011-12-04 02:02:13 +0100
committerVegard Storheil Eriksen <zyp@jvnv.net>2011-12-04 02:02:13 +0100
commita3bce929687e476af5dc7e2e757617b8cb27c627 (patch)
treee3580aec2dbcb51ce840c4c4b6a95ed237c96378
parentd0a7ee402141d6703218765c36a47003538168d1 (diff)
Adjusted systick timer.
-rw-r--r--main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.cpp b/main.cpp
index c465f00..fa4d1a8 100644
--- a/main.cpp
+++ b/main.cpp
@@ -82,7 +82,7 @@ Thread gps_thread(gps_stack, sizeof(gps_stack), gps_thread_main);
int main() {
// Initialize system timer.
- STK.LOAD = 72000000 / 8 / 1000; // 1000 Hz.
+ STK.LOAD = 168000000 / 8 / 1000; // 1000 Hz.
STK.CTRL = 0x03;
RCC.enable(RCC.AFIO);