mirror of
https://github.com/GorgonMeducer/perf_counter.git
synced 2025-01-24 19:23:03 +08:00
Update perf_counter.c
minor fix
This commit is contained in:
parent
0b1794385e
commit
b1d9ac7a07
@ -209,7 +209,7 @@ void before_cycle_counter_reconfiguration(void)
|
||||
if (perfc_port_is_system_timer_ovf_pending()) {
|
||||
perfc_port_clear_system_timer_ovf_pending(); /* clear pending bit */
|
||||
|
||||
user_code_insert_to_systick_handler(); /* manually handle exception */
|
||||
perfc_port_insert_to_system_timer_insert_ovf_handler(); /* manually handle exception */
|
||||
|
||||
}
|
||||
s_lSystemClockCounts = get_system_ticks(); /* get the final cycle counter value */
|
||||
|
Loading…
x
Reference in New Issue
Block a user