From 1739f79d519a10828a27c782daec04d7b52278ef Mon Sep 17 00:00:00 2001 From: hathach Date: Mon, 16 Apr 2018 18:15:17 +0700 Subject: [PATCH] clean up --- lib/sdk11/components/libraries/bootloader_dfu/bootloader.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lib/sdk11/components/libraries/bootloader_dfu/bootloader.c b/lib/sdk11/components/libraries/bootloader_dfu/bootloader.c index b7f7823..decfd36 100644 --- a/lib/sdk11/components/libraries/bootloader_dfu/bootloader.c +++ b/lib/sdk11/components/libraries/bootloader_dfu/bootloader.c @@ -376,12 +376,6 @@ void bootloader_app_start(uint32_t app_addr) interrupts_disable(); - // Disable RTC1 - NRF_RTC1->EVTENCLR = RTC_EVTEN_COMPARE0_Msk; - NRF_RTC1->INTENCLR = RTC_INTENSET_COMPARE0_Msk; - NRF_RTC1->TASKS_STOP = 1; - NRF_RTC1->TASKS_CLEAR = 1; - err_code = sd_softdevice_vector_table_base_set(CODE_REGION_1_START); APP_ERROR_CHECK(err_code);