diff --git a/ajax.php b/ajax.php index d2e0ef8..c58e773 100644 --- a/ajax.php +++ b/ajax.php @@ -27,7 +27,7 @@ $logLinesMMDVM = getMMDVMLog(); $reverseLogLinesMMDVM = $logLinesMMDVM; rsort($reverseLogLinesMMDVM); if ($_GET['section'] == "mode") { - $mode = getActualMode(getLastHeard($reverseLogLinesMMDVM, FALSE), $mmdvmconfigs); + $mode = getActualMode(getLastHeard($reverseLogLinesMMDVM, TRUE), $mmdvmconfigs); echo $mode; } if ($_GET['section'] == "lastHeard") { diff --git a/include/functions.php b/include/functions.php index 13a07fb..bf905ca 100644 --- a/include/functions.php +++ b/include/functions.php @@ -473,7 +473,7 @@ function getHeardList($logLines, $onlyLast) { $rssi = ""; $ts1alias = "---"; $ts2alias = "---"; - if ($onlyLast && count($heardList )> 4) { + if ($onlyLast && count($heardList )> 20) { return $heardList; } }