mirror of https://github.com/aredn/aredn.git
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:
parent
fe8ae5296f
commit
6e2a56b106
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue