applyImportedLoraConfigAfterChannelReplacement

suspend fun applyImportedLoraConfigAfterChannelReplacement(importedLoraConfig: Config.LoRaConfig?, currentLoraConfig: Config.LoRaConfig?, radioController: RadioController, settleDelay: Duration = LORA_CONFIG_SETTLE_DELAY, delayFn: suspend (Duration) -> Unit = { delay(it) })(source)

Applies an imported LoRa config after channel replacement writes have had time to settle.

LoRa reconfiguration is expensive on firmware and can race with channel persistence if sent immediately after a full channel replacement. The pre/post settle delays give the radio time to materialize the imported channels before and after the LoRa write.