Add some helpers to tidy up XAP (#20235)
This commit is contained in:
parent
9c3c159286
commit
6540b31d71
4 changed files with 14 additions and 0 deletions
|
@ -112,6 +112,10 @@ static bool audio_initialized = false;
|
|||
static bool audio_driver_stopped = true;
|
||||
audio_config_t audio_config;
|
||||
|
||||
void eeconfig_update_audio_current(void) {
|
||||
eeconfig_update_audio(audio_config.raw);
|
||||
}
|
||||
|
||||
void audio_init(void) {
|
||||
if (audio_initialized) {
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue