From 069467415b28a023d67bc2acd47c811f76a9dade Mon Sep 17 00:00:00 2001 From: penglei <1624952103@qq.com> Date: Mon, 29 Sep 2025 15:18:46 +0800 Subject: [PATCH] =?utf8?q?=E9=9B=B7=E9=B8=9F=E9=BB=98=E8=AE=A4=E5=85=B3?= =?utf8?q?=E9=97=AD=E4=B8=B2=E5=8F=A3=E8=BE=93=E5=85=A5=EF=BC=8Caw88082?= =?utf8?q?=E9=BB=98=E8=AE=A4=E8=AE=BE=E7=BD=AE=E6=9C=80=E5=A4=A7=E9=9F=B3?= =?utf8?q?=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- code/sdk/application/audio/vendor/aw88082/aw88082.c | 2 +- code/sdk/zhihui/utils/custom_utils.c | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) 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); -- 2.17.1