This commit is contained in:
hathach 2018-04-04 00:38:36 +07:00
parent 0d1f0861d3
commit b45099aad2

View File

@ -397,8 +397,6 @@ int main(void)
// DFU + FRESET are pressed --> OTA // DFU + FRESET are pressed --> OTA
_ota_update = _ota_update || ( button_pressed(BOOTLOADER_BUTTON) && button_pressed(FRESET_BUTTON) ) ; _ota_update = _ota_update || ( button_pressed(BOOTLOADER_BUTTON) && button_pressed(FRESET_BUTTON) ) ;
_ota_update = 1;
#ifdef BOARD_METRO52 #ifdef BOARD_METRO52
led_pin_init(LED_BLUE); led_pin_init(LED_BLUE);
#endif #endif