mirror of
https://github.com/meshtastic/firmware.git
synced 2025-04-29 11:01:15 +00:00
Bug in getNumOnlineNodes #988
This commit is contained in:
parent
65cc938c72
commit
446fb857cc
@ -433,7 +433,7 @@ uint32_t sinceLastSeen(const NodeInfo *n)
|
|||||||
return delta;
|
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()
|
size_t NodeDB::getNumOnlineNodes()
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user