Merge pull request #4 from MacMarc/patch-1

Update pcsensor.c
This commit is contained in:
Peter Farsinsen 2015-08-19 15:36:12 +02:00
commit 9eee035ff0

View file

@ -413,10 +413,10 @@ int main( int argc, char **argv) {
if (mrtg) { if (mrtg) {
if (formato==2) { 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 * tempInC + 32.0)); printf("%.2f\n", (9.0 / 5.0 * tempOutC + 32.0));
} else { } else {
printf("%.2f\n", tempInC); printf("%.2f\n", tempInC);
printf("%.2f\n", tempInC); printf("%.2f\n", tempOutC);
} }
printf("%02d:%02d\n", printf("%02d:%02d\n",