fix temperature display bug

This commit is contained in:
mrsang
2021-03-22 20:30:30 +01:00
parent bd6c02637d
commit f3a8f5cec9
6 changed files with 6 additions and 6 deletions

View File

@ -131,7 +131,7 @@ class SystemControl extends this.OS.application.BaseApplication
{ time: now, y: (data.cpu_temp / 1000.0).toFixed(2)},
{ time: now, y: (data.gpu_temp / 1000.0).toFixed(2)}
]
@streamline "temp", temp_data, [0,], ["CPU temp (C)", "GPU temp (C)"]
@streamline "temp", temp_data, [0,100], ["CPU temp (C)", "GPU temp (C)"]
battery_range = [
(data.battery_min_voltage / 1000.0).toFixed(2),