Commit 990e8953 authored by Alexander Potashev's avatar Alexander Potashev
Browse files

RT75093: arm_cortexm3/timer.c: remove hardcoded value of CONFIG_SYS_HZ

parent 34b2b751
......@@ -49,7 +49,7 @@ ulong get_timer(ulong base)
lastdec = now;
return timestamp / (clock_get(CLOCK_SYSTICK) / 1000) - base;
return timestamp / (clock_get(CLOCK_SYSTICK) / CONFIG_SYS_HZ) - base;
}
void reset_timer(void)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment