From 4c96f1315e9f6c7560c6aead20b393e4c55c778f Mon Sep 17 00:00:00 2001 From: Stephan Baerwolf Date: Thu, 12 Sep 2013 15:31:10 +0200 Subject: [PATCH] fix: rename BOOTLOADER_LOOPCYCLES_TIMEOUT All config-options need to be calles "CONFIG_*" Signed-off-by: Stephan Baerwolf --- firmware/bootloaderconfig.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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" -- 2.11.0