Skip to content

Commit eb38271

Browse files
committed
Make the debug build work by putting BL_MIN_PERIPHERAL_DETECT_TIMEOUT outside of #if DEBUG.
1 parent 3fcbe24 commit eb38271

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

targets/MK22F51212/src/bootloader_config.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,10 @@
8484
#define BL_DEFAULT_PERIPHERAL_DETECT_TIMEOUT 0
8585
#else
8686
#define BL_DEFAULT_PERIPHERAL_DETECT_TIMEOUT 5000
87-
#define BL_MIN_PERIPHERAL_DETECT_TIMEOUT 1000
8887
#endif // DEBUG
8988

89+
#define BL_MIN_PERIPHERAL_DETECT_TIMEOUT 1000
90+
9091
#define BL_FEATURE_POWERDOWN (0)
9192

9293
// Bootloader powerdown timeout in milliseconds

0 commit comments

Comments
 (0)