diff options
author | Chris Kuethe <chris.kuethe@gmail.com> | 2008-02-10 19:26:16 +0000 |
---|---|---|
committer | Chris Kuethe <chris.kuethe@gmail.com> | 2008-02-10 19:26:16 +0000 |
commit | 0a758c5ea583eb113940bb7b872500d346706aa5 (patch) | |
tree | f6d09c4faaa1d9332e46cbe64777487b24d3150a /gpsd.php | |
parent | cd89a454740936e15e836ffc3ca118674589aef4 (diff) | |
download | gpsd-0a758c5ea583eb113940bb7b872500d346706aa5.tar.gz |
got elevation and azimuth backwards... again.
Diffstat (limited to 'gpsd.php')
-rw-r--r-- | gpsd.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -145,7 +145,7 @@ function azel2xy($az, $el, $sz){ } function splot($im, $sz, $C, $e){ - list($sv, $az, $el, $snr, $u) = $e; + list($sv, $el, $az, $snr, $u) = $e; if ((0 == $sv) || (0 == $az + $el + $snr) || ($az < 0) || ($el < 0)) @@ -163,7 +163,7 @@ function splot($im, $sz, $C, $e){ if ($snr < 10) $color = $C['black']; - list($x, $y) = azel2xy($el, $az, $sz); + list($x, $y) = azel2xy($az, $el, $sz); $r = 12; if (isset($_GET['sz']) && ($_GET['sz'] == 'small')) |