Skip to content

Commit

Permalink
fix snr calculation
Browse files Browse the repository at this point in the history
Signed-off-by: koniu <gkusnierz@gmail.com>
  • Loading branch information
koniu committed Jan 31, 2011
1 parent beb468e commit 799e44b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wassup.lua
Expand Up @@ -190,7 +190,7 @@ function parse(method, res, survey)

-- calculate snr
if ap.noise and ap.sig then
ap.snr = -(ap.noise - ap.sig)
ap.snr = math.abs(ap.sig - ap.noise)
end

return ap
Expand Down

0 comments on commit 799e44b

Please sign in to comment.