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
ef63560f
Commit
ef63560f
authored
Jun 28, 2024
by
李俭双
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🐞
fix:蓝牙断开后清导航标志
parent
ed0f2b10
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
4 deletions
+12
-4
TianYing200.BAT
Firmware/Project/Cmsemicon/BAT32A239/MDK_ARM/TianYing200.BAT
+0
-3
BlueTooth.c
Firmware/Source/Application/BLUETOOTH/BlueTooth.c
+8
-0
BlueTooth.h
Firmware/Source/Application/BLUETOOTH/BlueTooth.h
+1
-0
Sys_Task_List.c
Firmware/Source/System/Sys_Task_List.c
+3
-1
No files found.
Firmware/Project/Cmsemicon/BAT32A239/MDK_ARM/TianYing200.BAT
View file @
ef63560f
SET PATH=C:\Keil_v5\ARM\ARMCC\Bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Users\tyw05\AppData\Local\Microsoft\WindowsApps;
SET ARMCC5_ASMOPT=--diag_suppress=9931
SET ARMCC5_CCOPT=--diag_suppress=9931
SET ARMCC5_LINKOPT=--diag_suppress=9931
SET CPU_TYPE=BAT32G139GK64FB
SET CPU_VENDOR=Cmsemicon
SET UV2_TARGET=TianYing200
...
...
Firmware/Source/Application/BLUETOOTH/BlueTooth.c
View file @
ef63560f
...
...
@@ -15,6 +15,14 @@ void Send_UUID_To_Esp32(void)
//Protocol_Send(MCU_ESP32_0x03, Ser2EDataForDFlash.DID_F184, 32);
}
void
Clear_Navigation_St
(
void
)
{
if
(
BlueTooth
.
BLE_St
==
0
)
{
BlueTooth
.
Navigation_St
=
0
;
}
}
uint8_t
Get_Navigation_St_Dis
(
void
)
{
return
BlueTooth
.
Navigation_St
;
...
...
Firmware/Source/Application/BLUETOOTH/BlueTooth.h
View file @
ef63560f
...
...
@@ -61,6 +61,7 @@ uint8_t Get_Navigation_Code_Dis(void);
uint32_t
Get_Navigation_Mileage_Dis
(
void
);
void
Send_UUID_To_Esp32
(
void
);
void
BlueTooth_KL30_KL15_Wakeup_Init
(
void
);
void
Clear_Navigation_St
(
void
);
#endif
...
...
Firmware/Source/System/Sys_Task_List.c
View file @
ef63560f
...
...
@@ -106,7 +106,9 @@ void Sys_100ms_Tasks(void)
else
{
u8LEDDriverCheckCount
++
;
}
}
Clear_Navigation_St
();
}
...
...
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