diff options
author | Bdale Garbee <bdale@gag.com> | 2012-11-20 12:37:38 -0700 |
---|---|---|
committer | Bdale Garbee <bdale@gag.com> | 2012-11-20 12:37:38 -0700 |
commit | ceea0e75ac42acac4a20bf88f34bb93fd2768f4c (patch) | |
tree | 16fa8a0f92e10e349be175b86db6b37cb1d508d9 /src/core/ao_config.c | |
parent | 7738ddc5dcf4a9609ae2b066a783e3c9fa03d3be (diff) | |
parent | 285fccfa82d89b0decc3b44f413eef9d0c8f1e63 (diff) |
Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
Diffstat (limited to 'src/core/ao_config.c')
-rw-r--r-- | src/core/ao_config.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/core/ao_config.c b/src/core/ao_config.c index e8ff95b7..e85ddcb4 100644 --- a/src/core/ao_config.c +++ b/src/core/ao_config.c @@ -144,8 +144,12 @@ _ao_config_get(void) } #if HAS_RADIO #if HAS_FORCE_FREQ - if (ao_force_freq) + if (ao_force_freq) { ao_config.frequency = 434550; + ao_config.radio_cal = ao_radio_cal; + ao_xmemcpy(&ao_config.callsign, CODE_TO_XDATA(AO_CONFIG_DEFAULT_CALLSIGN), + sizeof(AO_CONFIG_DEFAULT_CALLSIGN) - 1); + } #endif ao_config_set_radio(); #endif |