projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
75ca175
)
Correct radio frequency shown in config display.
author
Keith Packard
<keithp@keithp.com>
Thu, 30 Apr 2009 00:44:41 +0000
(17:44 -0700)
committer
Keith Packard
<keithp@keithp.com>
Thu, 30 Apr 2009 00:44:41 +0000
(17:44 -0700)
Radio frequency base is 434.550, not 435.550
ao_config.c
patch
|
blob
|
history
diff --git
a/ao_config.c
b/ao_config.c
index e32dca4537b26df3d01cfc94bd5ffd3f5ac32a05..593029f29dad4c0234001ae93ad6668f099eee13 100644
(file)
--- a/
ao_config.c
+++ b/
ao_config.c
@@
-97,7
+97,7
@@
ao_config_callsign_set(void) __reentrant
void
ao_config_radio_channel_show(void) __reentrant
{
void
ao_config_radio_channel_show(void) __reentrant
{
- uint32_t freq = 43
5
550L + ao_config.radio_channel * 100L;
+ uint32_t freq = 43
4
550L + ao_config.radio_channel * 100L;
uint16_t mhz = freq / 1000L;
uint16_t khz = freq % 1000L;
uint16_t mhz = freq / 1000L;
uint16_t khz = freq % 1000L;