From: penglei <1624952103@qq.com> Date: Mon, 29 Sep 2025 07:18:46 +0000 (+0800) Subject: 雷鸟默认关闭串口输入,aw88082默认设置最大音量 X-Git-Tag: V1.0.9_20251128_194606_LN~286 X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=refs%2Fchanges%2F2438%2Fhead;p=mirrors%2FFD230.git 雷鸟默认关闭串口输入,aw88082默认设置最大音量 --- diff --git a/code/sdk/application/audio/vendor/aw88082/aw88082.c b/code/sdk/application/audio/vendor/aw88082/aw88082.c index 5aa8b4d34..f84bb37ab 100644 --- a/code/sdk/application/audio/vendor/aw88082/aw88082.c +++ b/code/sdk/application/audio/vendor/aw88082/aw88082.c @@ -118,7 +118,7 @@ td_s32 i2c_write_bits(td_u8 reg_addr, td_u32 mask, td_u32 reg_data) const td_u16 config_register[] = { 0x03, 0x61FF, 0x04, 0x2246, - 0x05, 0x8000, + 0x05, 0x0000, 0x06, 0x0CE8, 0x07, 0x0010, 0x08, 0x0056, diff --git a/code/sdk/zhihui/utils/custom_utils.c b/code/sdk/zhihui/utils/custom_utils.c index 4958fffcb..1607ab56f 100644 --- a/code/sdk/zhihui/utils/custom_utils.c +++ b/code/sdk/zhihui/utils/custom_utils.c @@ -679,9 +679,11 @@ void startup_post_init_task(void) snprintf(path, 40, "/user/res/music/FactoryMode.mp3"); delay_time = 2000; } - else + { snprintf(path, 40, "/user/res/music/PowerOn.mp3"); + uapi_custom_set_uart_rx_enable_flag(false); + } custom_play_audio(path,100); LOS_Msleep(delay_time);