mirror of
https://github.com/shakemid/pcsensor-temper.git
synced 2025-01-21 09:08:17 +01:00
Update pcsensor.c
-m showed only internal temperatures. fixed, that it shows correctly internal and external temperature.
This commit is contained in:
parent
d4271f0779
commit
1b476bbe00
1 changed files with 2 additions and 2 deletions
|
@ -413,10 +413,10 @@ int main( int argc, char **argv) {
|
|||
if (mrtg) {
|
||||
if (formato==2) {
|
||||
printf("%.2f\n", (9.0 / 5.0 * tempInC + 32.0));
|
||||
printf("%.2f\n", (9.0 / 5.0 * tempInC + 32.0));
|
||||
printf("%.2f\n", (9.0 / 5.0 * tempOutC + 32.0));
|
||||
} else {
|
||||
printf("%.2f\n", tempInC);
|
||||
printf("%.2f\n", tempInC);
|
||||
printf("%.2f\n", tempOutC);
|
||||
}
|
||||
|
||||
printf("%02d:%02d\n",
|
||||
|
|
Loading…
Add table
Reference in a new issue