mirror of https://github.com/aredn/aredn.git
aredn: 20MHz wide channel fix for adjust_rate function in utils.lua (#129)
This commit is contained in:
parent
a7ab2c6a46
commit
8f1d23e565
|
@ -51,6 +51,8 @@ function adjust_rate(r,b)
|
||||||
ar=round2(r/4,1)
|
ar=round2(r/4,1)
|
||||||
elseif b==10 then
|
elseif b==10 then
|
||||||
ar=round2(r/2,1)
|
ar=round2(r/2,1)
|
||||||
|
else
|
||||||
|
ar=round2(r/1,1)
|
||||||
end
|
end
|
||||||
return ar
|
return ar
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue