Added START_IN_DFU to host and xcore code

This commit is contained in:
Ross Owen
2017-05-25 10:24:38 +01:00
parent 8e861e0a5e
commit 1a729e8eb7
2 changed files with 10 additions and 3 deletions

View File

@@ -339,7 +339,11 @@ int DFUReportResetState(chanend ?c_user_cmd)
unsigned flag;
flag = GetDFUFlag();
//if (DFU_reset_override == 0x11042011)
//#define START_IN_DFU 1
#ifdef START_IN_DFU
flag = 0x11042011;
#endif
if (flag == 0x11042011)
{
unsigned int cmd_data[16];