From 14cee5be6bab0221e4732e384763433ce33d5c6a Mon Sep 17 00:00:00 2001 From: Dr-Noob Date: Tue, 10 Sep 2024 22:11:09 +0100 Subject: [PATCH] Small refactor --- src/x86/freq/freq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/x86/freq/freq.c b/src/x86/freq/freq.c index caa0a43..308b8af 100644 --- a/src/x86/freq/freq.c +++ b/src/x86/freq/freq.c @@ -188,5 +188,5 @@ int32_t measure_frequency(struct cpuInfo* cpu, int32_t *max_freq_pp_vec) { } printf("\r%*c", num_spaces, ' '); - return max_freq_pp_vec[cpu->module_id]; + return max_freq_pp_vec[0]; }