Merge pull request #989 from mc-hamster/display_speed

Bug in getNumOnlineNodes #988
This commit is contained in:
Jm Casler
2021-12-11 20:10:36 -08:00
committed by GitHub
co-authored by GitHub
+1 -1
View File
@@ -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()
{