X-Git-Url: https://zdv2.bktei.com/gitweb/EVA-2020-02-2.git/blobdiff_plain/e2d010e2ae9761418d5a59f79cc4b60a251665d5..69294f3c5533bbc58457624ee3e1da1a7b3201b0:/examples/compensated-temperature.py?ds=sidebyside diff --git a/examples/compensated-temperature.py b/examples/compensated-temperature.py index 3679610..2733f56 100755 --- a/examples/compensated-temperature.py +++ b/examples/compensated-temperature.py @@ -33,7 +33,7 @@ def get_cpu_temperature(): # temperature down, and increase to adjust up factor = 0.8 -cpu_temps = [0] * 5 +cpu_temps = [get_cpu_temperature()] * 5 while True: cpu_temp = get_cpu_temperature()