X-Git-Url: https://zdv2.bktei.com/gitweb/EVA-2020-02-2.git/blobdiff_plain/e2d010e2ae9761418d5a59f79cc4b60a251665d5..8a7d81b6e515c44a2aec4172db1fb40ef2930183:/examples/compensated-temperature.py 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()