lpc176x: Fix lpc176x build

Fix build error introduced in commit 6ba2c3e1.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2022-12-14 14:50:31 -05:00
parent d40ebdab06
commit dc94a35752
2 changed files with 1 additions and 2 deletions

View File

@ -44,7 +44,7 @@ DECL_INIT(watchdog_init);
void void
bootloader_request(void) bootloader_request(void)
{ {
if (!CONFIG_SMOOTHIEWARE_BOOTLOADER) if (!CONFIG_FLASH_START)
return; return;
try_request_canboot(); try_request_canboot();
// Disable USB and pause for 5ms so host recognizes a disconnect // Disable USB and pause for 5ms so host recognizes a disconnect

View File

@ -5,7 +5,6 @@
// This file may be distributed under the terms of the GNU GPLv3 license. // This file may be distributed under the terms of the GNU GPLv3 license.
#include <string.h> // memcpy #include <string.h> // memcpy
#include "autoconf.h" // CONFIG_SMOOTHIEWARE_BOOTLOADER
#include "board/armcm_boot.h" // armcm_enable_irq #include "board/armcm_boot.h" // armcm_enable_irq
#include "board/armcm_timer.h" // udelay #include "board/armcm_timer.h" // udelay
#include "board/misc.h" // timer_read_time #include "board/misc.h" // timer_read_time