Skip to content

Commit

Permalink
Update examples/Network_Priority_RX/Network_Priority_RX.ino
Browse files Browse the repository at this point in the history
  • Loading branch information
2bndy5 authored Oct 19, 2023
1 parent f36b443 commit 619ae68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/Network_Priority_RX/Network_Priority_RX.ino
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ void loop() {
RF24NetworkHeader header; // Create an empty header
uint16_t dataSize = network.peek(header); // Peek to get the size of the data
uint32_t someVariable;
if (header.type == 32) { // If a certain header type is recieved
if (header.type == 32) { // If a certain header type is recieved
network.read(header, &someVariable, sizeof(someVariable)); // Handle the data a specific way
Serial.print(F("RX User Data:\nHeader Type "));
Serial.print(header.type);
Expand Down

0 comments on commit 619ae68

Please sign in to comment.