From 4700f63937786e8f6e9b4882363234a33eb54c46 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Sat, 7 Apr 2012 01:01:06 -0700 Subject: [PATCH] altos: Make ao_config_set_radio public Allows other bits of code to reset the radio parameters. Signed-off-by: Keith Packard --- src/core/ao.h | 3 +++ src/core/ao_config.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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 @@ -1510,6 +1510,9 @@ ao_config_get(void); 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); -- 2.30.2