kopia lustrzana https://github.com/meshtastic/firmware
Fix typo in calculation of NUM_ONLINE_SECS constant (#1436)
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>pull/1439/head
rodzic
2b769279ae
commit
5e109d9648
|
@ -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()
|
||||
{
|
||||
|
|
Ładowanie…
Reference in New Issue