openblt: blinks a few times even with BOOT_BACKDOOR_ENTRY_TIMEOUT_MS=0 #6735
only:two steps forward
This commit is contained in:
parent
737b810ed3
commit
05eef8434a
|
@ -7,9 +7,16 @@ extern "C" {
|
|||
#include "rs232.h"
|
||||
}
|
||||
|
||||
extern blt_bool stayInBootloader;
|
||||
|
||||
void Rs232Init() {
|
||||
// Set up USB serial
|
||||
usb_serial_start();
|
||||
#if (BOOT_BACKDOOR_ENTRY_TIMEOUT_MS == 0)
|
||||
if (stayInBootloader || (NvmVerifyChecksum() == BLT_FALSE))
|
||||
#endif
|
||||
{
|
||||
// Set up USB serial
|
||||
usb_serial_start();
|
||||
}
|
||||
}
|
||||
|
||||
#define RS232_CTO_RX_PACKET_TIMEOUT_MS (100u)
|
||||
|
|
Loading…
Reference in New Issue