Skip to content

Commit

Permalink
Comment out setStaticAddress (#27)
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
2bndy5 committed Jun 11, 2024
1 parent 099fb39 commit be07b9f
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 be07b9f

Please sign in to comment.