Merge branch 'meshtastic:master' into osmdroid-phase3

This commit is contained in:
PWRxPSYCHO 2022-10-14 09:53:41 -04:00 committed by GitHub
commit 4acbd05472
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 34 additions and 13 deletions

View file

@ -313,12 +313,12 @@ class ChannelFragment : ScreenFragment("Channel"), Logging {
}
// No matter what apply the speed selection from the user
val newLoRaConfig = loRaConfig {
val newLoRaConfig = model.config.lora.copy {
usePreset = true
modemPreset = newModemPreset
region = model.region
txEnabled = model.txEnabled
txPower = model.config.lora.txPower
bandwidth = 0
spreadFactor = 0
codingRate = 0
}
val humanName = Channel(newSettings, newLoRaConfig).humanName