Make Wormhole.timeoutMs uint32_t instead of uint16_t. Respect Wormhole.timeoutMs and timeout accordingly. Force the minimum timeout to 1000 ms.

This commit is contained in:
László Monda
2017-10-16 23:21:34 +02:00
parent ec456b9582
commit 40cbba1da1
3 changed files with 11 additions and 1 deletions

View File

@@ -84,6 +84,7 @@
#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_FEATURE_POWERDOWN (0)