diff --git a/Examples/GarageMote/GarageMote.ino b/Examples/GarageMote/GarageMote.ino index 262bf4b..8ed1b97 100644 --- a/Examples/GarageMote/GarageMote.ino +++ b/Examples/GarageMote/GarageMote.ino @@ -187,7 +187,7 @@ void loop() //first send any ACK to request DEBUG(" [RX_RSSI:");DEBUG(radio.readRSSI());DEBUG("]"); - if (radio.ACK_REQUESTED) + if (radio.ACKRequested()) { radio.sendACK(); DEBUG(" - ACK sent."); diff --git a/Examples/GarageMote_base/GarageMote_base.ino b/Examples/GarageMote_base/GarageMote_base.ino index 58c8cc6..048e377 100644 --- a/Examples/GarageMote_base/GarageMote_base.ino +++ b/Examples/GarageMote_base/GarageMote_base.ino @@ -98,7 +98,7 @@ void loop() { Serial.print((char)radio.DATA[i]); Serial.print(" [RSSI:");Serial.print(radio.RSSI);Serial.print("]"); - if (radio.ACK_REQUESTED) + if (radio.ACKRequested()) { byte theNodeID = radio.SENDERID; radio.sendACK(); diff --git a/Examples/Struct_receive/Struct_receive.ino b/Examples/Struct_receive/Struct_receive.ino index 6190c09..4b82487 100644 --- a/Examples/Struct_receive/Struct_receive.ino +++ b/Examples/Struct_receive/Struct_receive.ino @@ -105,7 +105,7 @@ void loop() { Serial.print(theData.temp); } - if (radio.ACK_REQUESTED) + if (radio.ACKRequested()) { byte theNodeID = radio.SENDERID; radio.sendACK(); diff --git a/Examples/Struct_send/Struct_send.ino b/Examples/Struct_send/Struct_send.ino index 703b25d..19f7bae 100644 --- a/Examples/Struct_send/Struct_send.ino +++ b/Examples/Struct_send/Struct_send.ino @@ -96,7 +96,7 @@ void loop() { Serial.print((char)radio.DATA[i]); Serial.print(" [RX_RSSI:");Serial.print(radio.readRSSI());Serial.print("]"); - if (radio.ACK_REQUESTED) + if (radio.ACKRequested()) { radio.sendACK(); Serial.print(" - ACK sent");