Handle log lines for lost RF transmissions correctly
This commit is contained in:
parent
558d69dd61
commit
cd5412e7f5
1 changed files with 1 additions and 1 deletions
|
@ -240,7 +240,7 @@ function getHeardList($logLines, $onlyLast) {
|
|||
continue;
|
||||
}
|
||||
|
||||
if(strpos($logLine,"end of") || strpos($logLine,"watchdog has expired") || strpos($logLine,"ended RF data") || strpos($logLine,"ended network") || strpos($logLine,"RF transmission lost")) {
|
||||
if(strpos($logLine,"end of") || strpos($logLine,"watchdog has expired") || strpos($logLine,"ended RF data") || strpos($logLine,"ended network") || strpos($logLine,"transmission lost")) {
|
||||
$lineTokens = explode(", ",$logLine);
|
||||
if (array_key_exists(2,$lineTokens)) {
|
||||
$duration = strtok($lineTokens[2], " ");
|
||||
|
|
Loading…
Reference in a new issue