altos: Make ao_config_set_radio public
authorKeith Packard <keithp@keithp.com>
Sat, 7 Apr 2012 08:01:06 +0000 (01:01 -0700)
committerKeith Packard <keithp@keithp.com>
Sat, 7 Apr 2012 08:01:06 +0000 (01:01 -0700)
Allows other bits of code to reset the radio parameters.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/core/ao.h
src/core/ao_config.c

index 150c08171f1593f8c08fcbe15fc9bfc2c10192fe..f7db3bf41c82eca69ba8bbe1125cc402908614ef 100644 (file)
@@ -1510,6 +1510,9 @@ ao_config_get(void);
 void
 ao_config_put(void);
 
+void
+ao_config_set_radio(void);
+
 void
 ao_config_init(void);
 
index 2d3d2870459715838f3bbdb8fcdd69b269b3d821..32798f75f0007ee02d68a3f5e6741f202e24c72e 100644 (file)
@@ -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);