diff options
author | Keith Packard <keithp@keithp.com> | 2012-04-07 01:01:06 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2012-04-07 01:01:06 -0700 |
commit | 4700f63937786e8f6e9b4882363234a33eb54c46 (patch) | |
tree | eee82fe02db4df5025e6c41ba362c4d0e6da6cf9 /src | |
parent | a0a650a2be007b0436bd527d6c18f36eef6fbe2b (diff) |
altos: Make ao_config_set_radio public
Allows other bits of code to reset the radio parameters.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/core/ao.h | 3 | ||||
-rw-r--r-- | src/core/ao_config.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/core/ao.h b/src/core/ao.h index 150c0817..f7db3bf4 100644 --- a/src/core/ao.h +++ b/src/core/ao.h @@ -1511,6 +1511,9 @@ void ao_config_put(void); void +ao_config_set_radio(void); + +void ao_config_init(void); /* diff --git a/src/core/ao_config.c b/src/core/ao_config.c index 2d3d2870..32798f75 100644 --- a/src/core/ao_config.c +++ b/src/core/ao_config.c @@ -64,7 +64,7 @@ ao_config_put(void) } #endif -static void +void ao_config_set_radio(void) { ao_config.radio_setting = ao_freq_to_set(ao_config.frequency, ao_config.radio_cal); |