Make the debug build work by putting BL_MIN_PERIPHERAL_DETECT_TIMEOUT outside of #if DEBUG.
This commit is contained in:
@@ -84,9 +84,10 @@
|
||||
#define BL_DEFAULT_PERIPHERAL_DETECT_TIMEOUT 0
|
||||
#else
|
||||
#define BL_DEFAULT_PERIPHERAL_DETECT_TIMEOUT 5000
|
||||
#define BL_MIN_PERIPHERAL_DETECT_TIMEOUT 1000
|
||||
#endif // DEBUG
|
||||
|
||||
#define BL_MIN_PERIPHERAL_DETECT_TIMEOUT 1000
|
||||
|
||||
#define BL_FEATURE_POWERDOWN (0)
|
||||
|
||||
// Bootloader powerdown timeout in milliseconds
|
||||
|
||||
Reference in New Issue
Block a user