From b3cf79b9c472ed8c219f8c9a9d8fb571671f3815 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 20 Sep 2018 07:27:28 +0200 Subject: bsp/leon3: Fix typo which breaks the CPU counter Update #3456. --- bsps/sparc/leon3/start/cpucounter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bsps/sparc/leon3/start/cpucounter.c b/bsps/sparc/leon3/start/cpucounter.c index 2df1409209..e477d1b81e 100644 --- a/bsps/sparc/leon3/start/cpucounter.c +++ b/bsps/sparc/leon3/start/cpucounter.c @@ -22,7 +22,7 @@ static uint32_t leon3_counter_frequency = 1000000000; uint32_t _CPU_Counter_frequency(void) { - return leon3_up_counter_frequency; + return leon3_counter_frequency; } static void leon3_counter_initialize(void) -- cgit v1.2.3