From 4c1293d229755eea1d101c072813254e78aecc7a Mon Sep 17 00:00:00 2001 From: TMRh20 Date: Wed, 23 Mar 2016 23:05:43 -0600 Subject: [PATCH] minor change for network_poll --- RF24Network.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/RF24Network.cpp b/RF24Network.cpp index 83f1bfe4..440d9f7f 100644 --- a/RF24Network.cpp +++ b/RF24Network.cpp @@ -233,8 +233,8 @@ uint8_t RF24Network::update(void) if( header->to_node == 0100){ - if(header->type == NETWORK_POLL && node_address != 04444 ){ - if( !(networkFlags & FLAG_NO_POLL) ){ + if(header->type == NETWORK_POLL ){ + if( !(networkFlags & FLAG_NO_POLL) && node_address != 04444 ){ header->to_node = header->from_node; header->from_node = node_address; delay(parent_pipe);