mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
Merge branch 'osmdroid-phase3' of github.com:ScriptTactics/Meshtastic-Android into osmdroid-phase3
This commit is contained in:
commit
71ff6002a9
6 changed files with 14 additions and 9 deletions
|
|
@ -29,8 +29,13 @@ data class Channel(
|
|||
// The default channel that devices ship with
|
||||
val default = Channel(
|
||||
channelSettings { psk = ByteString.copyFrom(defaultPSK) },
|
||||
// reference: NodeDB::installDefaultConfig
|
||||
loRaConfig { txEnabled = true; modemPreset = ModemPreset.LONG_FAST; hopLimit = 3 }
|
||||
// references: NodeDB::installDefaultConfig / Channels::initDefaultChannel
|
||||
loRaConfig {
|
||||
usePreset = true
|
||||
modemPreset = ModemPreset.LONG_FAST
|
||||
hopLimit = 3
|
||||
txEnabled = true
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -465,7 +465,7 @@ class UIViewModel @Inject constructor(
|
|||
|
||||
// Filter out of our results any packet that doesn't report SNR. This
|
||||
// is primarily ADMIN_APP.
|
||||
if (proto.rxSnr > 0.0f) {
|
||||
if (proto.rxSnr != 0.0f) {
|
||||
val rxDateTime = dateFormat.format(packet.received_date)
|
||||
val rxFrom = proto.from.toUInt()
|
||||
val senderName = nodesById[proto.from]?.user?.longName ?: ""
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit d0559bfa3c31023ed2f2aa3807b6a0a1da9a6feb
|
||||
Subproject commit a79e3aef8117dad642b1a011ec0438619616740c
|
||||
Loading…
Add table
Add a link
Reference in a new issue