Commit 19a3154d authored by Patrick's avatar Patrick

reduced char check for sdi12 to make it work

parent 530c930b
Pipeline #150 canceled with stages
......@@ -223,7 +223,7 @@ boolean checkActive(char i) {
if (mySDI12.available() > 1) break;
delay(30);
}
if (mySDI12.available() > 2) { // if it hears anything it assumes the address is occupied
if (mySDI12.available() > 0) { // if it hears anything it assumes the address is occupied
mySDI12.flush();
return true;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment