projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
a7b0a56
)
altos: Switch APRS altitude encoding computation to fixed point
author
Keith Packard
<keithp@keithp.com>
Sat, 31 May 2014 00:24:51 +0000
(17:24 -0700)
committer
Keith 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