From 3705da88ebaa7f1a4583495ae285ba92ce25ec00 Mon Sep 17 00:00:00 2001 From: Felix Rusu Date: Thu, 6 Jun 2019 19:22:12 -0400 Subject: [PATCH] fix broadcast address notes, take2 --- Examples/PiGateway/PiGateway.ino | 1 - RFM69.h | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Examples/PiGateway/PiGateway.ino b/Examples/PiGateway/PiGateway.ino index 3588bf2..41c784e 100644 --- a/Examples/PiGateway/PiGateway.ino +++ b/Examples/PiGateway/PiGateway.ino @@ -161,7 +161,6 @@ void loop() { if (radio.ACKRequested()) { - byte theNodeID = radio.SENDERID; radio.sendACK(); DEBUG("[ACK-sent]"); } diff --git a/RFM69.h b/RFM69.h index e20fddb..e82dd6a 100644 --- a/RFM69.h +++ b/RFM69.h @@ -143,7 +143,7 @@ #define null 0 #define COURSE_TEMP_COEF -90 // puts the temperature reading in the ballpark, user can fine tune the returned value -#define RF69_BROADCAST_ADDR RF_BROADCASTADDRESS_VALUE //0x0 +#define RF69_BROADCAST_ADDR 0 #define RF69_CSMA_LIMIT_MS 1000 #define RF69_TX_LIMIT_MS 1000 #define RF69_FSTEP 61.03515625 // == FXOSC / 2^19 = 32MHz / 2^19 (p13 in datasheet)