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
TY
TianYing_ty100
Commits
f4ca8a43
Commit
f4ca8a43
authored
9 months ago
by
李俭双
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:45370 Apparent: Using value of uninitialized automatic object '%s'
parent
c3dd89b0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
DeepSleep.c
...urce/Device/Cmsemicon/BAT32A239/RTE/DeepSleep/DeepSleep.c
+3
-3
RTE_GPIO_BAT32A239.c
.../Device/Cmsemicon/BAT32A239/RTE/GPIO/RTE_GPIO_BAT32A239.c
+4
-4
No files found.
Firmware/Source/Device/Cmsemicon/BAT32A239/RTE/DeepSleep/DeepSleep.c
View file @
f4ca8a43
...
...
@@ -73,9 +73,9 @@ const RTE_DEEPSLEEP_INTP_Table_st_t DEEPSLEEP_INTP_Table[] =
void
RTE_DEEPSLEEP_GPIO_Interrupt_Enable
(
uint16_t
u16Pin
,
Trigger_TypeDef
EXTI_Trigger
)
{
// int32_t i32Result;
uint8_t
u8Index
;
uint16_t
u16PortIndex
;
uint16_t
u16PinIndex
;
uint8_t
u8Index
=
0
;
uint16_t
u16PortIndex
=
0
;
uint16_t
u16PinIndex
=
0
;
GPIO_InitTypeDef
GPIO_InitStruct
=
{
0
};
INTP_InitTypeDef
INTP_InitStructure
;
...
...
This diff is collapsed.
Click to expand it.
Firmware/Source/Device/Cmsemicon/BAT32A239/RTE/GPIO/RTE_GPIO_BAT32A239.c
View file @
f4ca8a43
...
...
@@ -527,10 +527,10 @@ int32_t RTE_GPIO_Interrupt_Register(RTE_GPIO_IRQ_Desc_st_t *pstIRQDesc,
*/
int32_t
RTE_GPIO_Interrupt_Enable
(
RTE_GPIO_IRQ_Desc_st_t
*
pstIRQDesc
)
{
int32_t
i32Result
;
uint8_t
u8Index
;
uint16_t
u16PortIndex
;
uint16_t
u16PinIndex
;
int32_t
i32Result
=
0
;
uint8_t
u8Index
=
0
;
uint16_t
u16PortIndex
=
0
;
uint16_t
u16PinIndex
=
0
;
INTP_InitTypeDef
stEXTICfg
;
// GPIO_InitTypeDef GPIO_InitStruct;
...
...
This diff is collapsed.
Click to expand it.
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