arch/stm32h7: use STM32_CPUCLK_FREQUENCY to initialize perf

This commit is contained in:
raiden00pl 2023-08-21 09:52:50 +02:00 committed by Xiang Xiao
parent 4c358419f0
commit 86134461f3
1 changed files with 1 additions and 1 deletions

View File

@ -247,7 +247,7 @@ void __start(void)
showprogress('C'); showprogress('C');
#if defined(CONFIG_SCHED_IRQMONITOR) || defined(CONFIG_SEGGER_SYSVIEW) #if defined(CONFIG_SCHED_IRQMONITOR) || defined(CONFIG_SEGGER_SYSVIEW)
up_perf_init((void *)STM32_SYSCLK_FREQUENCY); up_perf_init((void *)STM32_CPUCLK_FREQUENCY);
#endif #endif
/* Perform early serial initialization */ /* Perform early serial initialization */