Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
TianYing_ty100
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
baizhengyuan
TianYing_ty100
Commits
661eedad
Commit
661eedad
authored
Aug 31, 2024
by
陈家乐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🐞
fix:代码评审问题:先初始化GPIO ,然后在初始化其他用到GPIO的模块。30,唤醒初始化同理
parent
ecebdbe4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
PowerManag_user.c
Firmware/Source/Component/PowerManagement/PowerManag_user.c
+2
-2
No files found.
Firmware/Source/Component/PowerManagement/PowerManag_user.c
View file @
661eedad
...
...
@@ -45,8 +45,8 @@ void PwrMemInit(void)
static
void
Power_KL30_Init
(
void
)
{
ClearODO_Flag
=
0
;
Simulated_IIC_2_Init
();
Gpio_Init
(
Gpio_KL30_Init
);
Simulated_IIC_2_Init
();
eeprom_StoreInfo_Init
();
Can_Init
();
...
...
@@ -120,8 +120,8 @@ static void Power_Wakeup_Init(void)
{
PowerIgnOffTimeLine
=
0
;
//RTE_CLOCK_Select_Start();
Simulated_IIC_2_Init
();
Gpio_Init
(
Gpio_WakeUp_Init
);
Simulated_IIC_2_Init
();
Can_Init
();
DFlash_init
();
...
...
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