diff options
author | root <root@no.no.james.local> | 2015-04-23 20:25:23 +0100 |
---|---|---|
committer | root <root@no.no.james.local> | 2015-04-23 20:25:23 +0100 |
commit | d40255fc533ab2b0f9f1e618d95726be72282b28 (patch) | |
tree | cb0bd798f9f69be5c1ced2f6fa11d4f52ca1f863 | |
parent | 354461e02fcb31806f355925617a6eb7e089d9ce (diff) | |
download | python-d40255fc533ab2b0f9f1e618d95726be72282b28.tar.gz python-d40255fc533ab2b0f9f1e618d95726be72282b28.tar.bz2 python-d40255fc533ab2b0f9f1e618d95726be72282b28.zip |
fish
-rw-r--r-- | librns510.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/librns510.c b/librns510.c index 6a75452..24c848f 100644 --- a/librns510.c +++ b/librns510.c @@ -18,7 +18,9 @@ #define ZERO (POI_CA) #define SCALE (((double) (POI_CB-POI_CA))/160.) -#else /*From VW */ +#endif + +#if 0 /*From VW */ #define POI_CA 0x80b60b60 /*1*/ #define POI_CB 0xff49f49f /*179*/ @@ -29,6 +31,12 @@ #endif +#if 1 /*From James*/ +#define ZERO 0x80000000 +#define SCALE (((float) 0x7FFFFFFF)/180.) +#endif + + static void fromz (int64_t a, double *lat, double *lon) |