From a3bce929687e476af5dc7e2e757617b8cb27c627 Mon Sep 17 00:00:00 2001 From: Vegard Storheil Eriksen Date: Sun, 4 Dec 2011 02:02:13 +0100 Subject: Adjusted systick timer. --- main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3