This commit is contained in:
medentem 2025-01-08 19:41:31 -06:00
parent 4a60761af5
commit 3bd2e40855
4 changed files with 7 additions and 7 deletions

View File

@ -1,5 +1,5 @@
#!/usr/bin/bash
export DEBEMAIL="github-actions[bot]@users.noreply.github.com"
dch --newversion "$(python3 bin/buildinfo.py short)-1" \
--distribution unstable \
"GitHub Actions Automatic version bump"
--distribution unstable \
"GitHub Actions Automatic version bump"

View File

@ -172,9 +172,9 @@ float FloodingRouter::calculateForwardProbability(const CoverageFilter &incoming
config.device.role == meshtastic_Config_DeviceConfig_Role_REPEATER) {
return 1.0f;
}
// If we haven't heard from any other nodes directly within the stale coverage time, fall back to always forward
if (nodeDB->secondsSinceLastDirectNeighborHeard() >= STALE_COVERAGE_SECONDS){
if (nodeDB->secondsSinceLastDirectNeighborHeard() >= STALE_COVERAGE_SECONDS) {
return UNKNOWN_COVERAGE_FORWARD_PROB;
}

View File

@ -180,8 +180,8 @@ class NodeDB
uint32_t secondsSinceLastDirectNeighborHeard();
private:
uint32_t lastNodeDbSave = 0; // when we last saved our db to flash
uint32_t maxLastHeardDirectNeighbor_ = 0; // the most recent last_heard value we've seen
uint32_t lastNodeDbSave = 0; // when we last saved our db to flash
uint32_t maxLastHeardDirectNeighbor_ = 0; // the most recent last_heard value we've seen
/// Find a node in our DB, create an empty NodeInfoLite if missing
meshtastic_NodeInfoLite *getOrCreateMeshNode(NodeNum n);

View File

@ -35,5 +35,5 @@
// "USERPREFS_USE_ADMIN_KEY_2": "{}",
// "USERPREFS_NODEINFO_BROADCAST_CHANNEL_HASH": "8",
// "USERPREFS_USE_COVERAGE_FILTER": "",
"USERPREFS_TZ_STRING": "tzplaceholder "
"USERPREFS_TZ_STRING": "tzplaceholder ",
}