From bbd29bb15a68b26808fa5e953de1bddeb76558ca Mon Sep 17 00:00:00 2001 From: TMRh20 Date: Fri, 16 Feb 2024 04:29:26 -0600 Subject: [PATCH] Comment out setStaticAddress 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 --- examples/ncurses/RF24Gateway_ncurses.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/ncurses/RF24Gateway_ncurses.cpp b/examples/ncurses/RF24Gateway_ncurses.cpp index 03afbcf..ecbde8f 100644 --- a/examples/ncurses/RF24Gateway_ncurses.cpp +++ b/examples/ncurses/RF24Gateway_ncurses.cpp @@ -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);