diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2022-12-14 14:50:31 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2022-12-14 14:50:31 -0500 |
commit | dc94a357528013ae182e413c3d7ec6145450a075 (patch) | |
tree | cc03e8d90194544ff48c00952e7a63d54b8f437d /src | |
parent | d40ebdab06f5be47e87725bc887265c4e198797b (diff) | |
download | kutter-dc94a357528013ae182e413c3d7ec6145450a075.tar.gz kutter-dc94a357528013ae182e413c3d7ec6145450a075.tar.xz kutter-dc94a357528013ae182e413c3d7ec6145450a075.zip |
lpc176x: Fix lpc176x build
Fix build error introduced in commit 6ba2c3e1.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src')
-rw-r--r-- | src/lpc176x/main.c | 2 | ||||
-rw-r--r-- | src/lpc176x/usbserial.c | 1 |
2 files changed, 1 insertions, 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 <string.h> // 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 |