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

File diff suppressed because one or more lines are too long

View File

@ -13,7 +13,7 @@
"dependencies": [
"Antunnel@0.1.8-a"
],
"version":"0.1.8-a",
"version":"0.1.9-a",
"category":"Other",
"iconclass":"fa fa-android",
"mimes":["none"],

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),

View File

@ -13,7 +13,7 @@
"dependencies": [
"Antunnel@0.1.8-a"
],
"version":"0.1.8-a",
"version":"0.1.9-a",
"category":"Other",
"iconclass":"fa fa-android",
"mimes":["none"],

View File

@ -265,8 +265,8 @@
"description": "https://raw.githubusercontent.com/lxsang/antosdk-apps/master/SystemControl/README.md",
"category": "Other",
"author": "",
"version": "0.1.8-a",
"dependencies": ["Antunnel@0.1.8-a"],"version":"0.1.8-a","category":"Other","iconclass":"fafa-android","mimes":["none"],
"version": "0.1.9-a",
"dependencies": ["Antunnel@0.1.8-a"],"version":"0.1.9-a","category":"Other","iconclass":"fafa-android","mimes":["none"],
"download": "https://raw.githubusercontent.com/lxsang/antosdk-apps/master/SystemControl/build/release/SystemControl.zip"
},
{