Removed waitForReply(). Not needed anymore.

This commit is contained in:
Henrik Ekblad
2015-02-10 22:25:13 +01:00
parent 722a23cfd9
commit 7b99a2ef94
2 changed files with 0 additions and 11 deletions
-10
View File
@@ -158,16 +158,6 @@ void MySensor::findParentNode() {
wait(2000);
}
void MySensor::waitForReply() {
unsigned long enter = millis();
// Wait a couple of seconds for response
while (millis() - enter < 2000) {
// reset watchdog
wdt_reset();
process();
}
}
boolean MySensor::sendRoute(MyMessage &message) {
// Make sure to process any incoming messages before sending (could this end up in recursive loop?)
// process();