From dc94a357528013ae182e413c3d7ec6145450a075 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Wed, 14 Dec 2022 14:50:31 -0500 Subject: [PATCH] lpc176x: Fix lpc176x build Fix build error introduced in commit 6ba2c3e1. Signed-off-by: Kevin O'Connor --- src/lpc176x/main.c | 2 +- src/lpc176x/usbserial.c | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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