From 446fb857cc15b50b8ebb56960ae7e446d69b4465 Mon Sep 17 00:00:00 2001 From: Jm Casler Date: Sat, 11 Dec 2021 19:50:20 -0800 Subject: [PATCH] Bug in getNumOnlineNodes #988 --- src/mesh/NodeDB.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesh/NodeDB.cpp b/src/mesh/NodeDB.cpp index c6f872b8..4ba4c14d 100644 --- a/src/mesh/NodeDB.cpp +++ b/src/mesh/NodeDB.cpp @@ -433,7 +433,7 @@ uint32_t sinceLastSeen(const NodeInfo *n) return delta; } -#define NUM_ONLINE_SECS (60 * 2) // 2 hrs to consider someone offline +#define NUM_ONLINE_SECS (60 & 60 * 2) // 2 hrs to consider someone offline size_t NodeDB::getNumOnlineNodes() {