diff options
author | Keith Packard <keithp@keithp.com> | 2014-05-30 17:24:51 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2014-05-30 17:32:52 -0700 |
commit | a7b0a5613c8e59b4c672b21f8d0890fd5cffd4dc (patch) | |
tree | c9e0d923055eb577dbfcf9b6c6e18d15e8e7a6c8 /src/test | |
parent | 2d9842ee011139f5783a102ceb2b7f4c88b1a10f (diff) |
altos: Switch APRS altitude encoding computation to fixed point
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>
Diffstat (limited to 'src/test')
0 files changed, 0 insertions, 0 deletions