From 1b476bbe00c4bdc881be75918684a8bdb6a6ba28 Mon Sep 17 00:00:00 2001 From: MacMarc Date: Tue, 18 Aug 2015 20:28:26 +0200 Subject: [PATCH] Update pcsensor.c -m showed only internal temperatures. fixed, that it shows correctly internal and external temperature. --- pcsensor.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pcsensor.c b/pcsensor.c index b451aea..9b105e2 100644 --- a/pcsensor.c +++ b/pcsensor.c @@ -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",