kopia lustrzana https://github.com/meshtastic/Meshtastic-Android
when we init default, set use_preset to true (meshtastic/Meshtastic-device#1845)
rodzic
726e54786c
commit
9ad6dd137d
|
@ -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
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue