Skip to content

Commit

Permalink
Comment out setStaticAddress
Browse files Browse the repository at this point in the history
This line can be a source of confusion if left enabled as it adds a static node on the master node, but can cause a segfault if called on non-master node
  • Loading branch information
TMRh20 committed Feb 16, 2024
1 parent 7bf8ec0 commit bbd29bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/ncurses/RF24Gateway_ncurses.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ int main()
{

gw.begin();
mesh.setStaticAddress(8, 1);
//mesh.setStaticAddress(8, 1);

//uint8_t nodeID = 22;
//gw.begin(nodeID,3,RF24_2MBPS);
Expand Down

0 comments on commit bbd29bb

Please sign in to comment.