From f7c79d4c394e55ce3cd4235e79769372cc029d4c Mon Sep 17 00:00:00 2001 From: hathach Date: Mon, 16 Apr 2018 18:42:12 +0700 Subject: [PATCH] comment out sd_app_evt_wait() since it does affect response time of USB !! --- lib/sdk11/components/libraries/bootloader_dfu/bootloader.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/sdk11/components/libraries/bootloader_dfu/bootloader.c b/lib/sdk11/components/libraries/bootloader_dfu/bootloader.c index decfd36..4a515b1 100644 --- a/lib/sdk11/components/libraries/bootloader_dfu/bootloader.c +++ b/lib/sdk11/components/libraries/bootloader_dfu/bootloader.c @@ -118,8 +118,8 @@ static void wait_for_events(void) for (;;) { // Wait in low power state for any events. - uint32_t err_code = sd_app_evt_wait(); - APP_ERROR_CHECK(err_code); +// uint32_t err_code = sd_app_evt_wait(); +// APP_ERROR_CHECK(err_code); // Event received. Process it from the scheduler. app_sched_execute();