From 27207cba4d4c442290b1c14e75006440a91023a5 Mon Sep 17 00:00:00 2001 From: Daniel Thompson Date: Sat, 18 Jan 2020 13:23:55 +0000 Subject: [PATCH] HACK: main: Increase time spent in UART DFU mode This is useful for devices that cannot be reset from the UART control signals... a one second interval is too hard to coordinate. --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index 57c4396..ec334a3 100644 --- a/src/main.c +++ b/src/main.c @@ -109,7 +109,7 @@ void usb_teardown(void); #define DFU_DBL_RESET_MEM 0x20007F7C #define BOOTLOADER_VERSION_REGISTER NRF_TIMER2->CC[0] -#define DFU_SERIAL_STARTUP_INTERVAL 1000 +#define DFU_SERIAL_STARTUP_INTERVAL 3000 // These value must be the same with one in dfu_transport_ble.c #define BLEGAP_EVENT_LENGTH 6