Fix print and timer
This commit is contained in:
parent
867f115bee
commit
04fe78ee0a
9 changed files with 60 additions and 17 deletions
|
@ -11,6 +11,7 @@ void SysTick_Handler(void) {
|
|||
|
||||
void timer_init(void)
|
||||
{
|
||||
timer_count = 0;
|
||||
SysTick_Config(SystemCoreClock / 1000); /* 1ms tick */
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue