altos: Switch APRS altitude encoding computation to fixed point
authorKeith Packard <keithp@keithp.com>
Sat, 31 May 2014 00:24:51 +0000 (17:24 -0700)
committerKeith Packard <keithp@keithp.com>
Sat, 31 May 2014 00:32:52 +0000 (17:32 -0700)
APRS altitude is logarithmically encoded, so this implementation
includes a fixed point log-base-2 function along with a bit of other
fixed point stuff. This eliminates all floating point from TeleGPS,
saving around 4kB of code space.

Signed-off-by: Keith Packard <keithp@keithp.com>

No differences found