diff --git a/examples/LoRaDuplex/LoRaDuplex.ino b/examples/LoRaDuplex/LoRaDuplex.ino index c914254..70d4349 100644 --- a/examples/LoRaDuplex/LoRaDuplex.ino +++ b/examples/LoRaDuplex/LoRaDuplex.ino @@ -88,7 +88,7 @@ void onReceive(int packetSize) { } // if the recipient isn't this device or broadcast, - if (recipient != localAddress && recipient != 0xFF) { + if (recipient != localAddress && recipient != destination) { Serial.println("This message is not for me."); return; // skip rest of function }