ref: fa0906923c0eaaae18da95104d30e6f858f2f145
parent: 96a39410175f5e7ceff079cf108099874569f81a
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Mon Aug 15 20:08:59 EDT 2022
aux/imx8pm: hide gpu and vpu from cputemp
--- a/sys/src/cmd/aux/imx8pm.c
+++ b/sys/src/cmd/aux/imx8pm.c
@@ -160,7 +160,7 @@
snprint(msg, sizeof(msg), "brightness %d\n", getbrightness());
else if(r->fid->file->aux == (void*)Temp){
if(getcputemp(c) == 0)
- snprint(msg, sizeof(msg), "%d.0\n%d.0\n%d.0\n", c[0], c[1], c[2]);
+ snprint(msg, sizeof(msg), "%d.0\n", c[0]);
else
snprint(msg, sizeof(msg), "%r\n");
}