Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Network_Priority_RX.ino #216

Merged
merged 2 commits into from
Oct 19, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/Network_Priority_RX/Network_Priority_RX.ino
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/**

Check notice on line 1 in examples/Network_Priority_RX/Network_Priority_RX.ino

View workflow job for this annotation

GitHub Actions / check_formatting / cpp_linter

Run clang-format on examples/Network_Priority_RX/Network_Priority_RX.ino

File examples/Network_Priority_RX/Network_Priority_RX.ino does not conform to Custom style guidelines. (lines 119)

Check notice on line 1 in examples/Network_Priority_RX/Network_Priority_RX.ino

View workflow job for this annotation

GitHub Actions / check_formatting / cpp_linter

Run clang-format on examples/Network_Priority_RX/Network_Priority_RX.ino

File examples/Network_Priority_RX/Network_Priority_RX.ino does not conform to Custom style guidelines. (lines 119)

Check notice on line 1 in examples/Network_Priority_RX/Network_Priority_RX.ino

View workflow job for this annotation

GitHub Actions / check_formatting / cpp_linter

Run clang-format on examples/Network_Priority_RX/Network_Priority_RX.ino

File examples/Network_Priority_RX/Network_Priority_RX.ino does not conform to Custom style guidelines. (lines 119)

Check notice on line 1 in examples/Network_Priority_RX/Network_Priority_RX.ino

View workflow job for this annotation

GitHub Actions / check_formatting / cpp_linter

Run clang-format on examples/Network_Priority_RX/Network_Priority_RX.ino

File examples/Network_Priority_RX/Network_Priority_RX.ino does not conform to Custom style guidelines. (lines 119)
* Copyright (C) 2020 TMRh20([email protected])
*
* This program is free software; you can redistribute it and/or
Expand Down Expand Up @@ -116,7 +116,7 @@
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
2bndy5 marked this conversation as resolved.
Show resolved Hide resolved
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
Loading