Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
IVECO_NS216
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
时昊
IVECO_NS216
Commits
7e169e05
Commit
7e169e05
authored
Jun 12, 2025
by
梁百峰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🐞
fix:128505 菜单修改声音后,休眠唤醒声音大小未保存
增加唤醒后设置音量,修改设置音量等级条件
parent
2b76588f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
PowerManag_user.c
source/Appliciation/PowerManag_user.c
+1
-0
Buzzer_Play_User.c
source/Driver/Sound/Buzzer_Play_User.c
+3
-1
No files found.
source/Appliciation/PowerManag_user.c
View file @
7e169e05
...
...
@@ -182,6 +182,7 @@ void PoMa_Wakeup_Init(void)
Line_In_KL15_ON_Init
(
);
COM_CAN_Init
(
);
Display_Ctrl_Init
(
);
Buzzer_Volume_Set
(
MenuData
.
Sound
);
}
void
PoMa_Sleep_Init
(
void
)
{
...
...
source/Driver/Sound/Buzzer_Play_User.c
View file @
7e169e05
...
...
@@ -23,7 +23,7 @@ Buzzer_Operate_Type_en_t Buzzer_Positive_Handle_Operate(Buzzer_uint8_t u8BuzzerO
{
switch
(
BuzzerVolume
)
{
default:
//
default:
case
3
:
Buzzer_CT_X1_OUT
=
1U
;
Buzzer_CT_X2_OUT
=
0U
;
...
...
@@ -39,6 +39,8 @@ Buzzer_Operate_Type_en_t Buzzer_Positive_Handle_Operate(Buzzer_uint8_t u8BuzzerO
Buzzer_CT_X2_OUT
=
0U
;
Buzzer_CT_X3_OUT
=
1U
;
break
;
default:
break
;
}
}
else
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment