From f3f877bf98d146870d850930f176b05e3ab9c5dd Mon Sep 17 00:00:00 2001 From: TMRh20 Date: Sun, 16 Jun 2024 06:37:16 -0600 Subject: [PATCH] Update comment --- RF24Mesh.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/RF24Mesh.cpp b/RF24Mesh.cpp index 45446e9..c9ec79c 100644 --- a/RF24Mesh.cpp +++ b/RF24Mesh.cpp @@ -167,10 +167,10 @@ bool ESBMesh::checkConnection() case -1: continue; // Write failed or timed out case 0: return false; // This is a master node default: - if ((uint16_t)result == mesh_address) { + if ((uint16_t)result == mesh_address) { // Successful address lookup if result == RF24Network address return true; } - break; // Successful address lookup if result == RF24Network address + break; } } return false;