Fixed problem with pipe 7 (trash messages) and double-sending of outgoning messages from gw.
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user