From b45099aad2aeacc030f3e67e6b52b2980e90de50 Mon Sep 17 00:00:00 2001 From: hathach Date: Wed, 4 Apr 2018 00:38:36 +0700 Subject: [PATCH] clean up --- src/main.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main.c b/src/main.c index 9b18ddf..053f73b 100644 --- a/src/main.c +++ b/src/main.c @@ -396,8 +396,6 @@ int main(void) // DFU + FRESET are pressed --> OTA _ota_update = _ota_update || ( button_pressed(BOOTLOADER_BUTTON) && button_pressed(FRESET_BUTTON) ) ; - - _ota_update = 1; #ifdef BOARD_METRO52 led_pin_init(LED_BLUE);