mirror of
https://github.com/meshtastic/firmware.git
synced 2025-08-15 17:55:09 +00:00
Fix typo in calculation of NUM_ONLINE_SECS constant (#1436)
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
This commit is contained in:
parent
2b769279ae
commit
5e109d9648
@ -439,7 +439,7 @@ uint32_t sinceLastSeen(const NodeInfo *n)
|
|||||||
return delta;
|
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()
|
size_t NodeDB::getNumOnlineNodes()
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user