mirror of
https://github.com/meshtastic/firmware.git
synced 2025-09-04 10:38:57 +00:00
trunk
This commit is contained in:
parent
4a60761af5
commit
3bd2e40855
4
debian/update_changelog.sh
vendored
4
debian/update_changelog.sh
vendored
@ -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"
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
|
@ -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 ",
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user