Commit de5ee4d5 authored by hu's avatar hu

增加USB刷写应用触发功能

parent b8d281ae
......@@ -14,6 +14,8 @@
#include "kwp2000_service.h"
#include "CAN_Communication_Matrix.h"
#include "UDS_Common.h"
/*-------------------------------------------------------*/
/*无车速限制值*/
#define DISPSPEEDNULLMAX 66
......@@ -1414,7 +1416,11 @@ void Key_Operation_Menu(Key_Event_en_t enKeyEvent)
}
else if (enKeyEvent == KEY_EVENT_LONG_PRESS)
{
; /*Do Nothing!*/
/*EOL USB 刷写功能----20220721*/
if (bCurMenuIDX == _MN_DSP_Menu_Test)
{
StartUSBUpgrade();
}
}
}
else
......
......@@ -1068,6 +1068,7 @@ void BootReadFlahInit(void)
}
}
/*USB刷写应用调用接口 ----20220720----*/
void StartUSBUpgrade(void)
{
WriteJumpBootStatusToDFlash(Flag_App_USBStatus);
......
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