From 5e109d96480973565f6f980f223348da4e114b29 Mon Sep 17 00:00:00 2001 From: Rockwell Schrock Date: Thu, 5 May 2022 14:46:39 -0400 Subject: [PATCH] Fix typo in calculation of NUM_ONLINE_SECS constant (#1436) Co-authored-by: Ben Meadors --- 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 a90c271a6..3a05bbd93 100644 --- a/src/mesh/NodeDB.cpp +++ b/src/mesh/NodeDB.cpp @@ -439,7 +439,7 @@ uint32_t sinceLastSeen(const NodeInfo *n) return delta; } -#define NUM_ONLINE_SECS (60 & 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() {