mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
fix: change MeshPacket default hopLimit to match LoRa config instead of 0
This commit is contained in:
parent
7834cb1f0c
commit
34eac6af18
1 changed files with 1 additions and 1 deletions
|
|
@ -489,7 +489,7 @@ class MeshService : Service(), Logging {
|
|||
private fun MeshPacket.Builder.buildMeshPacket(
|
||||
wantAck: Boolean = false,
|
||||
id: Int = generatePacketId(), // always assign a packet ID if we didn't already have one
|
||||
hopLimit: Int = 0,
|
||||
hopLimit: Int = localConfig.lora.hopLimit,
|
||||
channel: Int = 0,
|
||||
priority: MeshPacket.Priority = MeshPacket.Priority.UNSET,
|
||||
initFn: MeshProtos.Data.Builder.() -> Unit
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue