Make the debug build work by putting BL_MIN_PERIPHERAL_DETECT_TIMEOUT outside of #if DEBUG.

This commit is contained in:
László Monda
2017-11-18 17:31:47 +01:00
parent 3fcbe24143
commit eb38271bd8

View File

@@ -84,9 +84,10 @@
#define BL_DEFAULT_PERIPHERAL_DETECT_TIMEOUT 0 #define BL_DEFAULT_PERIPHERAL_DETECT_TIMEOUT 0
#else #else
#define BL_DEFAULT_PERIPHERAL_DETECT_TIMEOUT 5000 #define BL_DEFAULT_PERIPHERAL_DETECT_TIMEOUT 5000
#define BL_MIN_PERIPHERAL_DETECT_TIMEOUT 1000
#endif // DEBUG #endif // DEBUG
#define BL_MIN_PERIPHERAL_DETECT_TIMEOUT 1000
#define BL_FEATURE_POWERDOWN (0) #define BL_FEATURE_POWERDOWN (0)
// Bootloader powerdown timeout in milliseconds // Bootloader powerdown timeout in milliseconds