sforkowany z mirror/meshtastic-android
fix: change MeshPacket default `hopLimit` to match LoRa config instead of 0
rodzic
7834cb1f0c
commit
34eac6af18
|
@ -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
|
||||
|
|
Ładowanie…
Reference in New Issue