diff --git a/src/lpc176x/main.c b/src/lpc176x/main.c index 7aa28552..19a166dc 100644 --- a/src/lpc176x/main.c +++ b/src/lpc176x/main.c @@ -44,7 +44,7 @@ DECL_INIT(watchdog_init); void bootloader_request(void) { - if (!CONFIG_SMOOTHIEWARE_BOOTLOADER) + if (!CONFIG_FLASH_START) return; try_request_canboot(); // Disable USB and pause for 5ms so host recognizes a disconnect diff --git a/src/lpc176x/usbserial.c b/src/lpc176x/usbserial.c index 858475eb..7a54c84d 100644 --- a/src/lpc176x/usbserial.c +++ b/src/lpc176x/usbserial.c @@ -5,7 +5,6 @@ // This file may be distributed under the terms of the GNU GPLv3 license. #include // memcpy -#include "autoconf.h" // CONFIG_SMOOTHIEWARE_BOOTLOADER #include "board/armcm_boot.h" // armcm_enable_irq #include "board/armcm_timer.h" // udelay #include "board/misc.h" // timer_read_time