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
594d247c
Commit
594d247c
authored
Jun 28, 2024
by
李俭双
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🐞
fix:45363 Object '%1s' with external linkage is not unique.
parent
231c8ece
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
18 deletions
+18
-18
Key_user.c
Firmware/Source/Component/Key/Key_user.c
+2
-2
PowerManag_user.c
Firmware/Source/Component/PowerManagement/PowerManag_user.c
+8
-8
Telltales_user.c
Firmware/Source/Component/Telltales/Telltales_user.c
+2
-2
Telltales_user.h
Firmware/Source/Component/Telltales/Telltales_user.h
+6
-6
No files found.
Firmware/Source/Component/Key/Key_user.c
View file @
594d247c
...
...
@@ -12,8 +12,8 @@ uint8_t PageMenu = 0;
uint8_t
Hour_Set
=
0
;
uint8_t
Minute_Set
=
0
;
uint8_t
Tpms_TX_Flag
=
0
;
RTC_TimeTypeDef
RTC_TimeStruct
;
RTC_DateTypeDef
RTC_DateStruct
;
//
RTC_TimeTypeDef RTC_TimeStruct;
//
RTC_DateTypeDef RTC_DateStruct;
RTC_CounterTypeDef
counter_val
;
void
Data_TCS_Set_OnOff
(
uint32_t
u32Data
)
...
...
Firmware/Source/Component/PowerManagement/PowerManag_user.c
View file @
594d247c
...
...
@@ -6,7 +6,7 @@
#include "UDS_ISO14229_Services.h"
#include "timm.h"
RTC_Information_st_t
g_st
RTCInformation
;
RTC_Information_st_t
RTCInformation
;
static
void
Power_KL30_Init
(
void
);
static
void
Power_Wakeup_Init
(
void
);
...
...
@@ -83,13 +83,13 @@ static void Power_KL30_Init(void)
Telltales_UserInit
();
MenuData_Unit_Init
();
Data_TPMS_KL30_Init
();
g_st
RTCInformation
.
u8RTCSecond
=
0
;
g_st
RTCInformation
.
u8RTCMinute
=
0
;
g_st
RTCInformation
.
u8RTCHour
=
0
;
g_st
RTCInformation
.
u8RTCDayOfMonth
=
1
;
g_st
RTCInformation
.
u8RTCMonth
=
1
;
g_st
RTCInformation
.
u8RTCYear
=
20
;
RTE_RTC_Init
(
g_st
RTCInformation
);
RTCInformation
.
u8RTCSecond
=
0
;
RTCInformation
.
u8RTCMinute
=
0
;
RTCInformation
.
u8RTCHour
=
0
;
RTCInformation
.
u8RTCDayOfMonth
=
1
;
RTCInformation
.
u8RTCMonth
=
1
;
RTCInformation
.
u8RTCYear
=
20
;
RTE_RTC_Init
(
RTCInformation
);
RTE_DEEPSLEEP_GPIO_Interrupt_Enable
(
WAKEUP_KL15_In
,
Trigger_Rising
);
FaultCode_Init
();
...
...
Firmware/Source/Component/Telltales/Telltales_user.c
View file @
594d247c
...
...
@@ -82,8 +82,8 @@ void Telltales_Init(void)
}
void
Telltales_UserInit
(
void
)
{
HighBeam_Timer
.
LED_Turnon
=
0
;
HighBeam_Timer
.
LED_Turnoff
=
0
;
//
HighBeam_Timer.LED_Turnon = 0;
//
HighBeam_Timer.LED_Turnoff = 0;
LED_Battery_Voltage
=
0
;
Battery_Voltage_valid
=
0
;
}
...
...
Firmware/Source/Component/Telltales/Telltales_user.h
View file @
594d247c
...
...
@@ -23,12 +23,12 @@ typedef enum
LED_Max
,
}
LED_Idx_t
;
typedef
struct
{
Tellib_uint8_t
LED_Turnon
;
Tellib_uint8_t
LED_Turnoff
;
}
Led_HighBeam_Count
;
extern
Led_HighBeam_Count
HighBeam_Timer
;
//
typedef struct
//
{
// //
Tellib_uint8_t LED_Turnon;
// //
Tellib_uint8_t LED_Turnoff;
//
}Led_HighBeam_Count;
//
extern Led_HighBeam_Count HighBeam_Timer;
void
Telltales_Init
(
void
);
...
...
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