From 87e0431760e452962625fdabfb6e1e63bffd87a4 Mon Sep 17 00:00:00 2001 From: phl0 Date: Sun, 8 Jan 2017 21:12:52 +0100 Subject: [PATCH] Remove output of empty RSSI values (DVmega) --- include/functions.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/functions.php b/include/functions.php index 43295f7..6f551fd 100644 --- a/include/functions.php +++ b/include/functions.php @@ -271,7 +271,6 @@ function getHeardList($logLines, $onlyLast) { else if ($rssiAvg > "-129") $rssi = "
S3 ($rssiAvg dBm)(min/max/avg)
$rssiString
"; else if ($rssiAvg > "-135") $rssi = "
S2 ($rssiAvg dBm)(min/max/avg)
$rssiString
"; else if ($rssiAvg > "-141") $rssi = "
S1 ($rssiAvg dBm)(min/max/avg)
$rssiString
"; - else $rssi = "
S0 ($rssiAvg dBm)(min/max/avg)
$rssiString
"; } $ber = substr($loss, 5); $loss = ""; @@ -296,7 +295,6 @@ function getHeardList($logLines, $onlyLast) { else if ($rssiAvg > "-129") $rssi = "
S3 ($rssiAvg dBm)(min/max/avg)
$rssiString
"; else if ($rssiAvg > "-135") $rssi = "
S2 ($rssiAvg dBm)(min/max/avg)
$rssiString
"; else if ($rssiAvg > "-141") $rssi = "
S1 ($rssiAvg dBm)(min/max/avg)
$rssiString
"; - else $rssi = "
S0 ($rssiAvg dBm)(min/max/avg)
$rssiString
"; } }