Commit a802136a authored by TMRh20's avatar TMRh20

Fix mistake in example update

parent 0b2d8ddb
...@@ -46,7 +46,7 @@ void setup(){ ...@@ -46,7 +46,7 @@ void setup(){
radio.begin(); radio.begin();
radio.enableAckPayload(); // Allow optional ack payloads radio.enableAckPayload(); // Allow optional ack payloads
radio.enableDynamicAck(); radio.enableDynamicPayloads(); // Ack payloads are dynamic payloads
if(radioNumber){ if(radioNumber){
radio.openWritingPipe(addresses[1]); // Both radios listen on the same pipes by default, but opposite addresses radio.openWritingPipe(addresses[1]); // Both radios listen on the same pipes by default, but opposite addresses
...@@ -136,4 +136,4 @@ void loop(void) { ...@@ -136,4 +136,4 @@ void loop(void) {
} }
} }
} }
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment