projects
/
breezed.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
069b118
)
Small hack to handle temperature values in 1000th of degree.
author
Francois Fleuret
<francois@fleuret.org>
Sun, 26 Apr 2009 21:21:12 +0000
(23:21 +0200)
committer
Francois Fleuret
<francois@fleuret.org>
Sun, 26 Apr 2009 21:21:12 +0000
(23:21 +0200)
breezed.cc
patch
|
blob
|
history
diff --git
a/breezed.cc
b/breezed.cc
index
4f2302d
..
ae61293
100644
(file)
--- a/
breezed.cc
+++ b/
breezed.cc
@@
-471,6
+471,10
@@
Written by Francois Fleuret (francois@fleuret.org).\n";
cout << " " << t;
}
+ // So that we can deal with the new files where the
+ // temperature are in 1/1000th of C
+ if(t > 1000) t /= 1000;
+
if(t > temperature) temperature = t;
}
}