From: Stephan Baerwolf Date: Thu, 12 Sep 2013 13:31:10 +0000 (+0200) Subject: fix: rename BOOTLOADER_LOOPCYCLES_TIMEOUT X-Git-Tag: testing-head~16 X-Git-Url: http://git.linex4red.de/pub/USBaspLoader.git/commitdiff_plain/4c96f1315e9f6c7560c6aead20b393e4c55c778f?ds=inline fix: rename BOOTLOADER_LOOPCYCLES_TIMEOUT All config-options need to be calles "CONFIG_*" Signed-off-by: Stephan Baerwolf --- diff --git a/firmware/bootloaderconfig.h b/firmware/bootloaderconfig.h index 58b44ca..9eb07c9 100644 --- a/firmware/bootloaderconfig.h +++ b/firmware/bootloaderconfig.h @@ -334,8 +334,10 @@ these macros are defined, the boot loader usees them. * as soon as the programming software disconnects. */ -#ifndef BOOTLOADER_LOOPCYCLES_TIMEOUT -# define BOOTLOADER_LOOPCYCLES_TIMEOUT 0 +#ifdef CONFIG_BOOTLOADER_LOOPCYCLES_TIMEOUT +# define BOOTLOADER_LOOPCYCLES_TIMEOUT (CONFIG_BOOTLOADER_LOOPCYCLES_TIMEOUT) +#else +# define BOOTLOADER_LOOPCYCLES_TIMEOUT (0) #endif /* * When greater than "0", "BOOTLOADER_LOOPCYCLES_TIMEOUT"