Skip to content

Commit

Permalink
Update perf_counter.c
Browse files Browse the repository at this point in the history
minor fix
  • Loading branch information
GorgonMeducer authored Mar 14, 2024
1 parent 0b17943 commit b1d9ac7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion perf_counter.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit b1d9ac7

Please sign in to comment.