[FIX] Populate the STK_CTRL to STK_CSR change

This commit is contained in:
Frantisek Burian
2014-01-02 23:04:23 +01:00
committed by Piotr Esden-Tempski
parent 9338034eea
commit 80ba923da1
12 changed files with 12 additions and 12 deletions

View File

@@ -72,7 +72,7 @@ static void gpio_setup(void)
static void systick_setup(void)
{
/* 64MHz / 8 => 8000000 counts per second */
systick_set_clocksource(STK_CTRL_CLKSOURCE_AHB_DIV8);
systick_set_clocksource(STK_CSR_CLKSOURCE_AHB_DIV8);
/* 8000000/8000 = 1000 overflows per second - every 1ms one interrupt */
/* SysTick interrupt every N clock pulses: set reload to N-1 */