fixes AREDN->ticket:163

KG6JEI COMMENT:

Origonaly this was commit 027d0e6b6c682cbf264912842fb2fb9ce92084c7
This got lost in the repo migration and has been chery-picked back into the repo.

Change-Id: If02ade8efca0520b23abccdeceb9bf0fc4eb73d1
This commit is contained in:
Darryl Quinn 2016-05-17 16:03:35 -05:00 committed by Conrad Lara - KG6JEI
parent fe8ae5296f
commit 6e2a56b106
1 changed files with 1 additions and 0 deletions

View File

@ -62,6 +62,7 @@ if($parms{"realtime"}) {
($s, $n) = get_realtime_signal($dmac); ($s, $n) = get_realtime_signal($dmac);
} }
if($s==0) { $s=$n }
$sjson= sprintf("{\"label\":\"%s\",\"y\":%s}",$d,$s); $sjson= sprintf("{\"label\":\"%s\",\"y\":%s}",$d,$s);
$njson= sprintf("{\"label\":\"%s\",\"y\":%s}",$d,$n); $njson= sprintf("{\"label\":\"%s\",\"y\":%s}",$d,$n);
} else { } else {