summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2019-05-03 21:51:28 -0700
committerKeith Packard <keithp@keithp.com>2019-05-03 21:51:28 -0700
commita6e8b739c47c50fa472e3f2a41cf13abb8d82c07 (patch)
tree451161e26210144182043a52ea6dafe4ddadb04b /doc
parent1d3a8443d8de832b8e76a005e56ac5ff09b71849 (diff)
altos: Directly compute radio tuning values from frequency
The 8051 compiler doesn't support 64-bit ints, so the old code used an iterative method in 32-bit values. That could take a long time when the frequency was mis-entered in Hz or MHz instead of kHz. This direct-computation uses 64-bit ints, but takes a fixed amount of time for any inputs. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions