move ChannelSet out of service

This commit is contained in:
andrekir 2022-10-11 16:27:36 -03:00
parent 478b0be2f9
commit 88b94bd018
4 changed files with 54 additions and 78 deletions

View file

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