Fixed problem with pipe 7 (trash messages) and double-sending of outgoning messages from gw.

This commit is contained in:
Henrik Ekblad
2014-01-31 20:30:16 +01:00
parent d8f055104c
commit 25c7f386db
2 changed files with 4 additions and 6 deletions
+1 -1
View File
@@ -380,7 +380,7 @@ boolean Sensor::messageAvailable() {
}
if (available) {
if (available && pipe<7) {
readMessage();
boolean ok = validate() == VALIDATE_OK;
debug(PSTR("Mess crc %s.\n"),ok?"ok":"error");