From b1d9ac7a07b0f0eb483366689406f05a45d82b09 Mon Sep 17 00:00:00 2001 From: Gabriel Wang Date: Thu, 14 Mar 2024 15:49:50 +0000 Subject: [PATCH] Update perf_counter.c minor fix --- perf_counter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perf_counter.c b/perf_counter.c index 5a4ccb8..5230d04 100644 --- a/perf_counter.c +++ b/perf_counter.c @@ -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 */