Skip to content
Permalink
Browse files

Merge pull request #19 from wander98/patch-1

1-wire error range check when using fahrenheit
  • Loading branch information...
sosprz committed May 30, 2016
2 parents 6b6707a + a50e41c commit 4040edaedd53a4c6c6db660c6490da8a9d906059
Showing with 1 addition and 1 deletion.
  1. +1 −1 receiver.php
@@ -78,7 +78,7 @@ function check(&$val,$type) {
}
elseif ($type == 'temp') {
if (( -150 <= $val) && ($val <= 3000) && ($val != 85) && ($val != 127.9)) {
if (( -150 <= $val) && ($val <= 3000) && ($val != 85) && ($val != 185) && ($val != 127.9)) {
$val=$val;
}
else {

0 comments on commit 4040eda

Please sign in to comment.
You can’t perform that action at this time.