|
@@ -9,7 +9,10 @@
|
|
|
#define LUAT_LOG_TAG "audio"
|
|
#define LUAT_LOG_TAG "audio"
|
|
|
#include "luat_log.h"
|
|
#include "luat_log.h"
|
|
|
|
|
|
|
|
-luat_audio_conf_t audio_hardware = {0};
|
|
|
|
|
|
|
+static luat_audio_conf_t audio_hardware = {
|
|
|
|
|
+ .codec_conf.power_pin = LUAT_CODEC_PA_NONE,
|
|
|
|
|
+ .codec_conf.pa_pin = LUAT_CODEC_PA_NONE,
|
|
|
|
|
+};
|
|
|
|
|
|
|
|
luat_audio_conf_t *luat_audio_get_config(uint8_t multimedia_id){
|
|
luat_audio_conf_t *luat_audio_get_config(uint8_t multimedia_id){
|
|
|
if (multimedia_id == 0) return &audio_hardware;
|
|
if (multimedia_id == 0) return &audio_hardware;
|