netstar pushed a commit to branch master.

http://git.enlightenment.org/apps/evisum.git/commit/?id=d7d7f393945e09073883cfd1b09988c4b2325961

commit d7d7f393945e09073883cfd1b09988c4b2325961
Author: Alastair Poole <nets...@gmail.com>
Date:   Wed Oct 14 18:28:56 2020 +0100

    cpu: find a pie in the sky.
---
 src/bin/system/machine/cpu.bogox | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/bin/system/machine/cpu.bogox b/src/bin/system/machine/cpu.bogox
index 5fbd131..d820810 100644
--- a/src/bin/system/machine/cpu.bogox
+++ b/src/bin/system/machine/cpu.bogox
@@ -341,7 +341,7 @@ _coretemp_init(void)
 }
 
 static void
-_k10_init(void)
+_generic_init(void)
 {
    int i, cpu_count = system_cpu_count_get();
 
@@ -359,7 +359,8 @@ system_cpu_n_temperature_get(int n)
 
    thermal_drv drivers[] = {
       { "coretemp", _coretemp_init, 0, 100 },
-      { "k10temp", _k10_init, 0, 100 },
+      { "k10temp", _generic_init, 0, 100 },
+      { "cpu_thermal", _generic_init, 0, 100 },
    };
 
    if (!init)

-- 


Reply via email to