[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

@@ -268,7 +268,7 @@ static void hid_set_config(usbd_device *dev, uint16_t wValue)
dfu_control_request);
#endif
systick_set_clocksource(STK_CTRL_CLKSOURCE_AHB_DIV8);
systick_set_clocksource(STK_CSR_CLKSOURCE_AHB_DIV8);
/* SysTick interrupt every N clock pulses: set reload to N-1 */
systick_set_reload(99999);
systick_interrupt_enable();