Commit 4e7fdb34 authored by Orne Brocaar's avatar Orne Brocaar
Browse files

Fix disabling ADR (when ADR algorithm is set in DP).

Closes #538.
parent 5831d6b0
......@@ -1118,6 +1118,9 @@ func requestChannelMaskReconfiguration(ctx *dataContext) error {
func requestADRChange(ctx *dataContext) error {
conf := config.Get()
if conf.NetworkServer.NetworkSettings.DisableADR {
return nil
var maxTxPowerIndex int
var requiredSNRforDR float32
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment