Skip to content

Commit

Permalink
rssi was missing for wdb
Browse files Browse the repository at this point in the history
  • Loading branch information
wiedehopf committed Sep 29, 2020
1 parent 87d4ccd commit 4ba48ce
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions html/formatter.js
Original file line number Diff line number Diff line change
Expand Up @@ -469,6 +469,8 @@ function wqi(data) {
ac.oat = (u8[77] & 32) ? ac.oat : undefined;
ac.tat = (u8[77] & 32) ? ac.tat : undefined;

ac.rssi = 10 * Math.log(u8[98]*u8[98]/65025 + 1.125e-5)/Math.log(10);

if (ac.airground == 1)
ac.alt_baro = "ground";

Expand Down

0 comments on commit 4ba48ce

Please sign in to comment.