Commit ef63560f authored by 李俭双's avatar 李俭双

🐞 fix:蓝牙断开后清导航标志

parent ed0f2b10
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
......
......@@ -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;
......
......@@ -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
......
......@@ -106,7 +106,9 @@ void Sys_100ms_Tasks(void)
else
{
u8LEDDriverCheckCount++;
}
}
Clear_Navigation_St();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment